Skip to content

v1.11.6-statediff-5.0.5-alpha

Compare
Choose a tag to compare
@i-norden i-norden released this 19 May 15:55

What's Changed

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 use leaf_key in its tuple
  • state_accounts table internalized into state_cids since each record corresponds to an account now
  • storage_cids now only stores leaf nodes, so the PK can use leaf_key in its tuple
  • leaf_cid => cid in receipt_cids and log_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.4-alpha...v1.11.6-statediff-5.0.5-alpha