Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit 5887a15

Browse files
authored
revert: "fix: Revert "chore: disable fee charge in env"" (paradigmxyz#19073)
1 parent ff2236e commit 5887a15

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ workspace = true
1313

1414
[dependencies]
1515
# reth
16-
revm = { workspace = true, features = ["optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee"] }
16+
revm = { workspace = true, features = ["optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee", "optional_fee_charge"] }
1717
reth-chain-state.workspace = true
1818
revm-inspectors.workspace = true
1919
reth-primitives-traits = { workspace = true, features = ["rpc-compat"] }

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

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

794+
// Disable additional fee charges, e.g. opstack operator fee charge
795+
// See:
796+
// <https://github.com/paradigmxyz/reth/issues/18470>
797+
evm_env.cfg_env.disable_fee_charge = true;
798+
794799
// set nonce to None so that the correct nonce is chosen by the EVM
795800
request.as_mut().take_nonce();
796801

0 commit comments

Comments
 (0)