Skip to content

cmd/evm: fix state dump#17832

Merged
holiman merged 1 commit into
ethereum:masterfrom
cdetrio:fix-state-dump
Oct 4, 2018
Merged

cmd/evm: fix state dump#17832
holiman merged 1 commit into
ethereum:masterfrom
cdetrio:fix-state-dump

Conversation

@cdetrio
Copy link
Copy Markdown
Member

@cdetrio cdetrio commented Oct 4, 2018

the evm --json --dump statetest command was dumping the prestate from the test case. It's supposed to dump the post state. Now it works, at least as long as the --json flag is there so that state.IntermediateRoot(false) is called so that the post state gets committed.

I removed the comment (already committed above, so no need to delete objects again since it seems to be incorrect.

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.

2 participants