We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084c0ad commit a7e1bc3Copy full SHA for a7e1bc3
crates/anvil/src/eth/backend/executor.rs
@@ -429,6 +429,8 @@ where
429
I: Inspector<EthEvmContext<DB>> + Inspector<OpContext<DB>>,
430
{
431
if env.is_optimism {
432
+ // TODO: we currently pin to `OpSpecId::BEDROCK` as it is primarily used in the context of
433
+ // testing deposit transactions. We should make this configurable in the future.
434
let op_cfg = env.evm_env.cfg_env.clone().with_spec(op_revm::OpSpecId::BEDROCK);
435
let op_context = OpContext {
436
journaled_state: {
0 commit comments