v1.11.6-statediff-5.0.6
telackey
released this
21 Jul 19:26
What's Changed
- 367: Fix deferred rollback on error. by @telackey in #391
- 367: Check if the statediff is already in progress or completed. by @telackey in #392
- 292: Backfill gaps in the recent past on startup when tracking head. by @telackey in #395
- 396: Don't skip any blocks if the head of the chain advances by more than one block. by @telackey in #397
- 398: Statediff missing parent blocks automatically. by @telackey in #399
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.6-statediff-5.0.5-alpha...v1.11.6-statediff-5.0.6