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

Cleanup statedb test #23

Closed
wants to merge 14 commits into from

Conversation

paytonrules
Copy link

Creating a draft so I can see this as a PR.

elizabethengelman and others added 14 commits June 8, 2020 17:07
- compare struct fields to avoid failure when rlp bytes out of order
The pendingStorage value is wiped away on every updateTrie, but we need
it so store the diffStorage so we send accurate, minimal statediffs.

Take a look at Commit in statedb because you should be able to skip
empty diffStorage entries as well, currently those get sent.
VDB-1523: Track diffStorage for accurate stateDiffs
Order was mattering for the account diffs and storage diffs inside the
payload, and it doesn't matter in real life. This made for a flaky test.
We don't use it, it's unnecessary.
@paytonrules paytonrules closed this Oct 2, 2020
i-norden pushed a commit that referenced this pull request Oct 16, 2020
* ovm: new initial state

* ovm: initial testnet state tests

* initial state: update

* state: update contracts

* initial state: document deployment addresses
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