Skip to content

Commit

Permalink
chore: rm impl into
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Nov 28, 2024
1 parent da53d76 commit 500d022
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/optimism/rpc/src/eth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ where
ctx.network.clone(),
ctx.cache.clone(),
ctx.new_gas_price_oracle(),
ctx.config.rpc_gas_cap,
ctx.config.rpc_gas_cap.into(),
ctx.config.rpc_max_simulate_blocks,
ctx.config.eth_proof_window,
blocking_task_pool,
Expand Down
8 changes: 4 additions & 4 deletions crates/rpc/rpc/src/eth/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ where
network: Network,
eth_cache: EthStateCache,
gas_oracle: GasPriceOracle<Provider>,
gas_cap: impl Into<GasCap>,
gas_cap: GasCap,
max_simulate_blocks: u64,
eth_proof_window: u64,
blocking_task_pool: BlockingTaskPool,
Expand Down Expand Up @@ -119,7 +119,7 @@ where
ctx.network.clone(),
ctx.cache.clone(),
ctx.new_gas_price_oracle(),
ctx.config.rpc_gas_cap,
ctx.config.rpc_gas_cap.into(),
ctx.config.rpc_max_simulate_blocks,
ctx.config.eth_proof_window,
blocking_task_pool,
Expand Down Expand Up @@ -270,7 +270,7 @@ where
network: Network,
eth_cache: EthStateCache,
gas_oracle: GasPriceOracle<Provider>,
gas_cap: impl Into<GasCap>,
gas_cap: GasCap,
max_simulate_blocks: u64,
eth_proof_window: u64,
blocking_task_pool: BlockingTaskPool,
Expand All @@ -297,7 +297,7 @@ where
signers,
eth_cache,
gas_oracle,
gas_cap: gas_cap.into().into(),
gas_cap: gas_cap.into(),
max_simulate_blocks,
eth_proof_window,
starting_block,
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc/rpc/src/eth/helpers/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ mod tests {
noop_network_provider,
cache.clone(),
GasPriceOracle::new(noop_provider, Default::default(), cache.clone()),
ETHEREUM_BLOCK_GAS_LIMIT,
ETHEREUM_BLOCK_GAS_LIMIT.into(),
DEFAULT_MAX_SIMULATE_BLOCKS,
DEFAULT_ETH_PROOF_WINDOW,
BlockingTaskPool::build().expect("failed to build tracing pool"),
Expand Down

0 comments on commit 500d022

Please sign in to comment.