Skip to content

Commit

Permalink
Add comment to TraceCall
Browse files Browse the repository at this point in the history
  • Loading branch information
Eela Nagaraj committed Sep 18, 2023
1 parent fcbae6a commit 1e5f042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eth/tracers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,8 @@ func (api *API) TraceCall(ctx context.Context, args ethapi.TransactionArgs, bloc
if config != nil && config.Reexec != nil {
reexec = *config.Reexec
}
// Since this is applied at the end of the requested block (often "latest"),
// do not commit the following block's randomness
statedb, err := api.backend.StateAtBlock(ctx, block, reexec, nil, true, false, false)
if err != nil {
return nil, err
Expand Down

0 comments on commit 1e5f042

Please sign in to comment.