Skip to content

Commit

Permalink
Rename write_oz to write_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Dec 27, 2023
1 parent a4e9cac commit cfd1636
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ethereum/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ use url::Url;
pub use write::TxError;

use self::write::TransactionId;
use self::write_oz::WriteProvider;
use self::write_provider::WriteProvider;
use crate::serde_utils::JsonStrWrapper;

pub mod read;
pub mod write;

mod write_oz;
mod write_provider;

// TODO: Log and metrics for signer / nonces.
#[derive(Clone, Debug, PartialEq, Parser)]
Expand All @@ -32,7 +32,7 @@ pub struct Options {
pub secondary_providers: JsonStrWrapper<Vec<Url>>,

#[clap(flatten)]
pub write_options: write_oz::Options,
pub write_options: write_provider::Options,
}

#[derive(Clone, Debug)]
Expand All @@ -59,7 +59,8 @@ impl Ethereum {
}

let write_provider: Arc<WriteProvider> = Arc::new(
write_oz::WriteProvider::new(read_provider.clone(), &options.write_options).await?,
write_provider::WriteProvider::new(read_provider.clone(), &options.write_options)
.await?,
);

Ok(Self {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit cfd1636

Please sign in to comment.