Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth, les: fix tracer #22473

Merged
merged 6 commits into from
Apr 7, 2021
Merged

eth, les: fix tracer #22473

merged 6 commits into from
Apr 7, 2021

Conversation

rjl493456442
Copy link
Member

@rjl493456442 rjl493456442 commented Mar 10, 2021

fixes #22469

eth/state_accessor.go Outdated Show resolved Hide resolved
eth/tracers/api.go Outdated Show resolved Hide resolved
eth/tracers/api.go Outdated Show resolved Hide resolved
eth/state_accessor.go Outdated Show resolved Hide resolved
eth/state_accessor.go Outdated Show resolved Hide resolved
@@ -487,7 +488,7 @@ func (api *API) traceBlock(ctx context.Context, block *types.Block, config *Trac
if config != nil && config.Reexec != nil {
reexec = *config.Reexec
}
statedb, err := api.backend.StateAtBlock(ctx, parent, reexec, nil)
statedb, err := api.backend.StateAtBlock(ctx, parent, reexec, nil, false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want this and the others true :) Only traceChain should be false, shouldn't it?

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's to hopping all issues are fixed :D

@karalabe karalabe merged commit a600dab into ethereum:master Apr 7, 2021
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
* eth, les: fix tracer

* eth: isolate live trie database in tracer

* eth: fix nil

* eth: fix

* eth, les: add checkLive param

* eth/tracer: fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracing in 1.10 no longer returns results immediately
3 participants