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

Delete StateRootNotFound, execute_transaction() #1809

Merged
merged 2 commits into from Aug 5, 2019

Conversation

carver
Copy link
Contributor

@carver carver commented Aug 5, 2019

What was wrong?

When handling missing node exceptions StateRootNotFound is an easy one to miss and only comes up very rarely. It's an unnecessary specialization of other exceptions now, IMO.

How was it fixed?

The exception is an overly-custom version of the MissingTrieNode
exceptions. Just let those bubble up now.

Now execute_transaction() is exactly the same as apply_transaction(), so
drop the method (and save the method overhead).

To-Do

  • Clean up commit history

Cute Animal Picture

put a cute animal picture link inside the parentheses

The exception is an overly-custom version of the MissingTrieNode
exceptions. Just let those bubble up now.

Now execute_transaction() is exactly the same as apply_transaction, so
drop the method (and save the method overhead).
@carver carver merged commit cf80b92 into ethereum:master Aug 5, 2019
@carver carver deleted the drop-StateRootNotFound-exception branch August 5, 2019 23:23
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.

None yet

2 participants