From 477985fdcde9475175ff0b31ca3dbc7e6d414ca5 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Thu, 13 Jul 2023 14:35:38 -0700 Subject: [PATCH] moved a comment --- core/state_processor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/state_processor.go b/core/state_processor.go index fdf6feaff..d2db9382b 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -70,18 +70,18 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg if p.config.DAOForkSupport && p.config.DAOForkBlock != nil && p.config.DAOForkBlock.Cmp(block.Number()) == 0 { misc.ApplyDAOHardFork(statedb) } + //begin PluGeth code injection blockTracer, ok := pluginGetBlockTracer(header.Hash(), statedb) if ok { cfg.Tracer = blockTracer // cfg.Debug = true } + // end pluGeth code injection var ( context = NewEVMBlockContext(header, p.bc, nil) vmenv = vm.NewEVM(context, vm.TxContext{}, statedb, p.config, cfg) signer = types.MakeSigner(p.config, header.Number, header.Time) ) - //begin PluGeth code injection - // end pluGeth code injection // begin PluGeth code injection pluginPreProcessBlock(block) blockTracer.PreProcessBlock(block)