Skip to content

cmd/evm, core/vm/runtime: add more support for prestate configs#15034

Closed
cdetrio wants to merge 2 commits into
ethereum:masterfrom
cdetrio:evm-prestate
Closed

cmd/evm, core/vm/runtime: add more support for prestate configs#15034
cdetrio wants to merge 2 commits into
ethereum:masterfrom
cdetrio:evm-prestate

Conversation

@cdetrio
Copy link
Copy Markdown
Member

@cdetrio cdetrio commented Aug 24, 2017

Work-in-progress. Probably breaks the evm command if not given a prestate (todo: fallback to defaults when not given a --prestate).

Comment thread cmd/evm/runner.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This will likely throw if the sender is not in prestate (?). Would be good if it's still possible to just do evm --code 6040 run and not worry about the rest.

Comment thread cmd/evm/runner.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't this only necessary when if ctx.GlobalBool(DumpFlag.Name) is set, which does stateDb.IntermediateRoot?

@holiman
Copy link
Copy Markdown
Contributor

holiman commented Aug 27, 2017

@cdetrio You've marked this as work-in-progress, please update the text if you consider it to not be work-in-progress any more.

@fjl fjl closed this Apr 9, 2018
@fjl
Copy link
Copy Markdown
Contributor

fjl commented Apr 9, 2018

This PR is now out of date and I can't see how it is useful. Please reopen if you still want this functionality.

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.

3 participants