Skip to content

Commit

Permalink
fix: use correct tracer instance
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Nov 25, 2024
1 parent 34efc6c commit 6574c16
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 @@ -477,7 +477,7 @@ func (env *TraceEnv) getTxResult(state *state.StateDB, index int, block *types.B
env.sMu.Unlock()

var proof zkproof.ProofList
if err = env.ZkTrieTracer[addrStr].Prove(key.Bytes(), &proof); err != nil {
if err = zktrieTracer.Prove(key.Bytes(), &proof); err != nil {
log.Error("Storage proof not available", "error", err, "address", addrStr, "key", keyStr)
// but we still mark the proofs map with nil array
}
Expand Down

0 comments on commit 6574c16

Please sign in to comment.