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

Swap IH and HashState stages #922

Merged
merged 8 commits into from
Aug 15, 2020
Merged

Swap IH and HashState stages #922

merged 8 commits into from
Aug 15, 2020

Conversation

AskAlexSharov
Copy link
Collaborator

@AskAlexSharov AskAlexSharov commented Aug 15, 2020

Main ideas:

  • IH stage must only validate that state is correct - it must not use any hacks to override state (for example accountsMap or code hash adjust) - because it means that we store in db invalid state.
  • But it means that during unwind HashState stage must go before IH, it's fine - I added to state.unwindOrder.
  • All tweaks moved into HashState stage (it's extract part)
  • IH Receiver removed

Future steps:

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