Cleanup statedb test #23

Closed
paytonrules wants to merge 14 commits from cleanup-statedb-test into master
14 Commits
Author SHA1 Message Date
Eric Smith 18d87b52cb Remove android as well 2020-10-02 14:51:22 -05:00
Eric Smith f497363209 Remove the iOS build
We don't use it, it's unnecessary.
2020-10-02 14:29:31 -05:00
Eric Smith f8af2d265f Use maps to cleanup a flaky test
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.
2020-09-02 15:55:03 -05:00
Elizabeth Engelman e4685ac663 Simplify TestStateChangesEmittedFromCommit 2020-08-28 09:24:22 -05:00
Elizabeth Engelman 1f63b9f64f Account for non-duplicate diffs in statedb_test 2020-08-27 14:41:01 -05:00
Elizabeth e6af0911dd Merge pull request #14 from makerdao/remove-duplicate-diffs
VDB-1523: Track diffStorage for accurate stateDiffs
2020-07-29 09:21:39 -05:00
Eric Smith aba3c2a04b Track diffStorage for accurate stateDiffs
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.
2020-07-28 17:24:26 -05:00
Rob Mulholand 63a5b2059b filters: fix test for state changes filters
- compare struct fields to avoid failure when rlp bytes out of order
2020-06-08 17:07:30 -04:00
Rob Mulholand b0631e73f3 core: fix test for missing trie nodes 2020-06-08 17:07:30 -04:00
Elizabeth Engelman c44bb1943b ethclient, filters: Allow clients to subscribe to state changes 2020-06-08 17:07:30 -04:00
Elizabeth Engelman b601ada27b filters: Process StateChangeEvents in filter event system 2020-06-08 17:07:30 -04:00
Elizabeth Engelman ae458c99d5 backends, core, eth, ethapi, filters, les, light: Subscribe to StateChangeEvents in filter event system 2020-06-08 17:07:30 -04:00
Elizabeth Engelman 2592b2b9ee core: Send StateChangeEvents over a feed after being commited 2020-06-08 17:07:30 -04:00
Elizabeth Engelman 0505976975 core, eth, main, state, tests: Return state changes from statedb.Commit 2020-06-08 17:07:30 -04:00