Skip to content

Commit c9e32d1

Browse files
authored
evm: enable evmone APIv2 in block executor (#2687)
1 parent a151a79 commit c9e32d1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

silkworm/core/execution/processor.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class ExecutionProcessor {
8888
evmone::state::BlockInfo evm1_block_;
8989

9090
//! Execute transactions using evmone APIv2 only and apply the result state diff to the state.
91-
//! TODO: This flag currently has no effect.
9291
bool evm1_v2_ = false;
9392
};
9493

silkworm/node/execution/block/block_executor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ BlockExecutor::BlockExecutor(const ChainConfig* chain_config, bool write_receipt
3232
write_change_sets_{write_change_sets} {}
3333

3434
ValidationResult BlockExecutor::execute_single(const Block& block, db::Buffer& state_buffer, AnalysisCache& analysis_cache) {
35-
ExecutionProcessor processor{block, *protocol_rule_set_, state_buffer, *chain_config_, false};
35+
ExecutionProcessor processor{block, *protocol_rule_set_, state_buffer, *chain_config_, true};
3636
processor.evm().analysis_cache = &analysis_cache;
3737

3838
CallTraces traces;

0 commit comments

Comments
 (0)