@@ -205,7 +205,7 @@ type txTraceResult struct {
205205type blockTraceTask struct {
206206 statedb * state.StateDB // Intermediate state prepped for tracing
207207 block * types.Block // Block to trace the transactions from
208- parentBlock * types.Block // Block to trace the transactions from
208+ parentBlock * types.Block // Parent block of the block to trace
209209 rootref common.Hash // Trie root reference held for this task
210210 results []* txTraceResult // Trace results procudes by the task
211211}
@@ -283,7 +283,7 @@ func (api *API) traceChain(ctx context.Context, start, end *types.Block, config
283283 // Apply Scroll hard fork state transitions on state
284284 misc .ApplyForkStateTransitions (api .backend .ChainConfig (), task .statedb , task .block .NumberU64 (), task .block .Time (), task .parentBlock .Time ())
285285
286- // EIP-2935: Insert parent hash in history contract.
286+ // Apply EIP-2935: Insert parent hash in history contract.
287287 if api .backend .ChainConfig ().IsFeynman (task .block .Time ()) {
288288 evm := vm .NewEVM (blockCtx , vm.TxContext {}, task .statedb , api .backend .ChainConfig (), vm.Config {})
289289 core .ProcessParentBlockHash (task .block .ParentHash (), evm , task .statedb )
@@ -555,7 +555,7 @@ func (api *API) IntermediateRoots(ctx context.Context, hash common.Hash, config
555555 // Apply Scroll hard fork state transitions on state
556556 misc .ApplyForkStateTransitions (api .backend .ChainConfig (), statedb , block .NumberU64 (), block .Time (), parent .Time ())
557557
558- // EIP-2935: Insert parent hash in history contract.
558+ // Apply EIP-2935: Insert parent hash in history contract.
559559 if api .backend .ChainConfig ().IsFeynman (block .Time ()) {
560560 vmenv := vm .NewEVM (vmctx , vm.TxContext {}, statedb , chainConfig , vm.Config {})
561561 core .ProcessParentBlockHash (block .ParentHash (), vmenv , statedb )
@@ -639,7 +639,7 @@ func (api *API) traceBlock(ctx context.Context, block *types.Block, config *Trac
639639 // Apply Scroll hard fork state transitions on state
640640 misc .ApplyForkStateTransitions (api .backend .ChainConfig (), statedb , block .NumberU64 (), block .Time (), parent .Time ())
641641
642- // EIP-2935: Insert parent hash in history contract.
642+ // Apply EIP-2935: Insert parent hash in history contract.
643643 if api .backend .ChainConfig ().IsFeynman (block .Time ()) {
644644 evm := vm .NewEVM (blockCtx , vm.TxContext {}, statedb , api .backend .ChainConfig (), vm.Config {})
645645 core .ProcessParentBlockHash (block .ParentHash (), evm , statedb )
@@ -783,7 +783,7 @@ func (api *API) standardTraceBlockToFile(ctx context.Context, block *types.Block
783783 // Apply Scroll hard fork state transitions on state
784784 misc .ApplyForkStateTransitions (api .backend .ChainConfig (), statedb , block .NumberU64 (), block .Time (), parent .Time ())
785785
786- // EIP-2935: Insert parent hash in history contract.
786+ // Apply EIP-2935: Insert parent hash in history contract.
787787 if api .backend .ChainConfig ().IsFeynman (block .Time ()) {
788788 evm := vm .NewEVM (vmctx , vm.TxContext {}, statedb , api .backend .ChainConfig (), vm.Config {})
789789 core .ProcessParentBlockHash (block .ParentHash (), evm , statedb )
0 commit comments