From 07166a23953d1b6ba2de5c32e604c55b15999f03 Mon Sep 17 00:00:00 2001 From: Matthieu Vachon Date: Wed, 17 Apr 2024 13:08:13 -0400 Subject: [PATCH] Removed a useless set firehose context since `evm.Reset` already does it --- core/state_processor.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/state_processor.go b/core/state_processor.go index 99bb4f78bd87..b187981eb8b7 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -164,9 +164,6 @@ func applyTransaction(msg *Message, config *params.ChainConfig, gp *GasPool, sta txContext := NewEVMTxContext(msg) evm.Reset(txContext, statedb, txFirehoseContext) - // We need to set it back because each transaction executes in the EVM with it's own context - evm.SetFirehoseContext(txFirehoseContext) - var result *ExecutionResult var err error