Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/rpc/rpc-eth-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ workspace = true

[dependencies]
# reth
revm = { workspace = true, features = ["optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee"] }
revm = { workspace = true, features = ["optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee", "optional_fee_charge"] }
reth-chain-state.workspace = true
revm-inspectors.workspace = true
reth-primitives-traits = { workspace = true, features = ["rpc-compat"] }
Expand Down
5 changes: 5 additions & 0 deletions crates/rpc/rpc-eth-api/src/helpers/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,11 @@ pub trait Call:
// Disable EIP-7825 transaction gas limit to support larger transactions
evm_env.cfg_env.tx_gas_limit_cap = Some(u64::MAX);

// Disable additional fee charges, e.g. opstack operator fee charge
// See:
// <https://github.com/paradigmxyz/reth/issues/18470>
evm_env.cfg_env.disable_fee_charge = true;

// set nonce to None so that the correct nonce is chosen by the EVM
request.as_mut().take_nonce();

Expand Down
Loading