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

core,tests: Fix #15119, don't create account in state_transition #15163

Closed
wants to merge 1 commit into from

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Sep 19, 2017

This PR fixes #15119, and makes a few more failing tests pass. WIthout this patch, in pre-spurious dragon:

  • A precompile which does not exist
  • And is called,
  • But the call is reverted (OOG),
  • Would be created in the trie

This is not a cause for concern at this point, but is an error. This is because to to-account is created early in the state transition, before the reversion-snapshot is taken.

Before we merge this PR, we should really, really think about possiblle consequences of this change.

@fjl
Copy link
Contributor

fjl commented Apr 9, 2018

Replaced by #16470

@fjl fjl closed this Apr 9, 2018
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.

In Homestead, geth creates an account after a transaction that goes OOG
2 participants