v1.11.5-statediff-5.0.0-alpha
i-norden
released this
30 Mar 23:50
What's Changed in v5
Database changes:
- Requires new schema: https://github.com/cerc-io/ipld-eth-db/tree/v5
uncle_hash
=>uncles_hash
mh_key
=>cid
state_cids
now only stores leaf nodes, so the PK can useleaf_key
in its tuplestate_accounts
table internalized intostate_cids
since each record corresponds to an account nowstorage_cid
s now only stores leaf nodes, so the PK can useleaf_key
in its tupleleaf_cid
=>cid
inreceipt_cids
andlog_cids
tables- no more
access_list_elements
table public.blocks
=>ipld.blocks
Statediff process changes:
- no longer write log trie, tx trie, and rct trie IPLD objects to
ipld.blocks
(we can materialize them on demand if needed, or cache using a "proof watcher") - fix internalized leaf node issues
Misc:
- refactor database abstraction for better reusability
- refactor ipld package
- removed a lot of now (or, in some cases, also previously) unused code
- v1.11.5 geth rebase
Full Changeset: https://github.com/cerc-io/go-ethereum/compare/v1.11.5-statediff-v5..v1.11.5-statediff-v4