From 0c20cd40f42244f1f4ea3d445a6d9e3d5451c8d0 Mon Sep 17 00:00:00 2001 From: rakita Date: Sun, 28 Sep 2025 13:19:20 +0200 Subject: [PATCH] chore(op-revm): propagate optional_fee_charge feature --- crates/context/src/cfg.rs | 2 +- crates/op-revm/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/context/src/cfg.rs b/crates/context/src/cfg.rs index b463592827..59d66901a7 100644 --- a/crates/context/src/cfg.rs +++ b/crates/context/src/cfg.rs @@ -151,7 +151,7 @@ impl CfgEnv { pub fn new_with_spec(spec: SPEC) -> Self { Self { chain_id: 1, - tx_chain_id_check: false, + tx_chain_id_check: true, limit_contract_code_size: None, limit_contract_initcode_size: None, spec, diff --git a/crates/op-revm/Cargo.toml b/crates/op-revm/Cargo.toml index 298c277590..e507af218f 100644 --- a/crates/op-revm/Cargo.toml +++ b/crates/op-revm/Cargo.toml @@ -61,6 +61,7 @@ optional_block_gas_limit = ["revm/optional_block_gas_limit"] optional_eip3541 = ["revm/optional_eip3541"] optional_eip3607 = ["revm/optional_eip3607"] optional_no_base_fee = ["revm/optional_no_base_fee"] +optional_fee_charge = ["revm/optional_fee_charge"] # See comments in `revm-precompile` secp256k1 = ["revm/secp256k1"]