Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Propagate trie errors upwards from State#4655

Merged
gavofyork merged 8 commits into
masterfrom
state-error
Feb 26, 2017
Merged

Propagate trie errors upwards from State#4655
gavofyork merged 8 commits into
masterfrom
state-error

Conversation

@rphmeier
Copy link
Copy Markdown
Contributor

Goes after #4632

Allows us to execute transactions on incomplete tries without issue.

@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Feb 23, 2017
@rphmeier
Copy link
Copy Markdown
Contributor Author

rphmeier commented Feb 23, 2017

(To support non trie-based backends we might want an associated Error type on state::Backend and Ext)

Comment thread ethcore/src/state/mod.rs Outdated
///
pub struct State {
db: StateDB,
pub struct State<B> {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why not add B: Backend here too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's the same commit as #4632 as this builds upon that, we can ice this until it's in.

@arkpar arkpar added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. A0-pleasereview 🤓 Pull request needs code review. and removed A0-pleasereview 🤓 Pull request needs code review. A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Feb 25, 2017
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 25, 2017
@gavofyork gavofyork merged commit 1bf2b27 into master Feb 26, 2017
@gavofyork gavofyork deleted the state-error branch February 26, 2017 12:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants