@@ -389,7 +389,7 @@ func (api *API) traceChain(start, end *types.Block, config *TraceConfig, closed
389
389
core .ProcessBeaconBlockRoot (* beaconRoot , evm )
390
390
}
391
391
// Insert parent hash in history contract.
392
- if api .backend .ChainConfig ().IsPrague (next .Number (), next .Time (), context .ArbOSVersion ) {
392
+ if ! api . backend . ChainConfig (). IsArbitrum () && api .backend .ChainConfig ().IsPrague (next .Number (), next .Time (), context .ArbOSVersion ) {
393
393
core .ProcessParentBlockHash (next .ParentHash (), evm )
394
394
}
395
395
// Clean out any pending release functions of trace state. Note this
@@ -544,7 +544,7 @@ func (api *API) IntermediateRoots(ctx context.Context, hash common.Hash, config
544
544
if beaconRoot := block .BeaconRoot (); beaconRoot != nil {
545
545
core .ProcessBeaconBlockRoot (* beaconRoot , evm )
546
546
}
547
- if chainConfig .IsPrague (block .Number (), block .Time (), vmctx .ArbOSVersion ) {
547
+ if ! chainConfig . IsArbitrum () && chainConfig .IsPrague (block .Number (), block .Time (), vmctx .ArbOSVersion ) {
548
548
core .ProcessParentBlockHash (block .ParentHash (), evm )
549
549
}
550
550
for i , tx := range block .Transactions () {
@@ -608,7 +608,7 @@ func (api *API) traceBlock(ctx context.Context, block *types.Block, config *Trac
608
608
if beaconRoot := block .BeaconRoot (); beaconRoot != nil {
609
609
core .ProcessBeaconBlockRoot (* beaconRoot , evm )
610
610
}
611
- if api .backend .ChainConfig ().IsPrague (block .Number (), block .Time (), blockCtx .ArbOSVersion ) {
611
+ if ! api . backend . ChainConfig (). IsArbitrum () && api .backend .ChainConfig ().IsPrague (block .Number (), block .Time (), blockCtx .ArbOSVersion ) {
612
612
core .ProcessParentBlockHash (block .ParentHash (), evm )
613
613
}
614
614
@@ -787,7 +787,7 @@ func (api *API) standardTraceBlockToFile(ctx context.Context, block *types.Block
787
787
if beaconRoot := block .BeaconRoot (); beaconRoot != nil {
788
788
core .ProcessBeaconBlockRoot (* beaconRoot , evm )
789
789
}
790
- if chainConfig .IsPrague (block .Number (), block .Time (), vmctx .ArbOSVersion ) {
790
+ if ! chainConfig . IsArbitrum () && chainConfig .IsPrague (block .Number (), block .Time (), vmctx .ArbOSVersion ) {
791
791
core .ProcessParentBlockHash (block .ParentHash (), evm )
792
792
}
793
793
for i , tx := range block .Transactions () {
0 commit comments