Skip to content

Commit 44aa0fb

Browse files
authored
fix: Revert "chore: disable fee charge in env" (#18645)
1 parent 6fdf6c4 commit 44aa0fb

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rpc/rpc-eth-api/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ workspace = true
1414
[dependencies]
1515
# reth
1616
revm = { workspace = true, features = ["optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee"] }
17-
revm-context = { workspace = true, features = ["optional_fee_charge"] }
1817
reth-chain-state.workspace = true
1918
revm-inspectors.workspace = true
2019
reth-primitives-traits = { workspace = true, features = ["rpc-compat"] }

crates/rpc/rpc-eth-api/src/helpers/call.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,11 +787,6 @@ pub trait Call:
787787
// Disable EIP-7825 transaction gas limit to support larger transactions
788788
evm_env.cfg_env.tx_gas_limit_cap = Some(u64::MAX);
789789

790-
// Disable additional fee charges, e.g. opstack operator fee charge
791-
// See:
792-
// <https://github.com/paradigmxyz/reth/issues/18470>
793-
evm_env.cfg_env.disable_fee_charge = true;
794-
795790
// set nonce to None so that the correct nonce is chosen by the EVM
796791
request.as_mut().take_nonce();
797792

crates/rpc/rpc-eth-api/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,3 @@ pub use ext::L2EthApiExtClient;
4343
pub use filter::EthFilterApiClient;
4444

4545
use reth_trie_common as _;
46-
// TODO: remove after https://github.com/bluealloy/revm/pull/3005 is released
47-
use revm_context as _;

0 commit comments

Comments
 (0)