Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmountaintop committed Jun 19, 2024
1 parent 77c4c34 commit 4a4eef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func CreateTraceEnv(chainConfig *params.ChainConfig, chainContext core.ChainCont
*startL1QueueIndex,
coinbase,
statedb,
statedb.GetRootHash(),
statedb.GetRootHash(), // use `statedb.GetRootHash()` instead of `parent.Root()` because statedb might be overrided
block,
commitAfterApply,
)
Expand Down

0 comments on commit 4a4eef7

Please sign in to comment.