@@ -381,7 +381,7 @@ func (api *API) traceChain(start, end *types.Block, config *TraceConfig, closed
381
381
if beaconRoot := next .BeaconRoot (); beaconRoot != nil {
382
382
context := core .NewEVMBlockContext (next .Header (), api .chainContext (ctx ), nil )
383
383
vmenv := vm .NewEVM (context , vm.TxContext {}, statedb , api .backend .ChainConfig (), vm.Config {})
384
- core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb , vmenv . Context . BlockNumber , vmenv . Context . Time )
384
+ core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb )
385
385
}
386
386
// Clean out any pending release functions of trace state. Note this
387
387
// step must be done after constructing tracing state, because the
@@ -533,7 +533,7 @@ func (api *API) IntermediateRoots(ctx context.Context, hash common.Hash, config
533
533
)
534
534
if beaconRoot := block .BeaconRoot (); beaconRoot != nil {
535
535
vmenv := vm .NewEVM (vmctx , vm.TxContext {}, statedb , chainConfig , vm.Config {})
536
- core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb , vmenv . Context . BlockNumber , vmenv . Context . Time )
536
+ core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb )
537
537
}
538
538
for i , tx := range block .Transactions () {
539
539
if err := ctx .Err (); err != nil {
@@ -612,7 +612,7 @@ func (api *API) traceBlock(ctx context.Context, block *types.Block, config *Trac
612
612
)
613
613
if beaconRoot := block .BeaconRoot (); beaconRoot != nil {
614
614
vmenv := vm .NewEVM (blockCtx , vm.TxContext {}, statedb , api .backend .ChainConfig (), vm.Config {})
615
- core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb , vmenv . Context . BlockNumber , vmenv . Context . Time )
615
+ core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb )
616
616
}
617
617
for i , tx := range txs {
618
618
// Generate the next state snapshot fast without tracing
@@ -770,7 +770,7 @@ func (api *API) standardTraceBlockToFile(ctx context.Context, block *types.Block
770
770
}
771
771
if beaconRoot := block .BeaconRoot (); beaconRoot != nil {
772
772
vmenv := vm .NewEVM (vmctx , vm.TxContext {}, statedb , chainConfig , vm.Config {})
773
- core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb , vmenv . Context . BlockNumber , vmenv . Context . Time )
773
+ core .ProcessBeaconBlockRoot (* beaconRoot , vmenv , statedb )
774
774
}
775
775
for i , tx := range block .Transactions () {
776
776
// Prepare the transaction for un-traced execution
0 commit comments