v1.11.5-statediff-5.0.4-alpha
i-norden
released this
15 May 16:29
What's Changed
- construct leaf key from prefixPath+parentPath+partialPath instead of calling it.LeafKey() (to avoid panics when … by @i-norden in #379
- update ipld-eth-db version by @i-norden in #381
Major Changes 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 Changelog: v1.11.5-statediff-5.0.3-alpha...v1.11.5-statediff-5.0.4-alpha