Skip to content

Commit 4a4eef7

Browse files
committed
add comments
1 parent 77c4c34 commit 4a4eef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup/tracing/tracing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func CreateTraceEnv(chainConfig *params.ChainConfig, chainContext core.ChainCont
160160
*startL1QueueIndex,
161161
coinbase,
162162
statedb,
163-
statedb.GetRootHash(),
163+
statedb.GetRootHash(), // use `statedb.GetRootHash()` instead of `parent.Root()` because statedb might be overrided
164164
block,
165165
commitAfterApply,
166166
)

0 commit comments

Comments
 (0)