v5 functional updates #339
Merged
telackey
merged 64 commits from 2023-03-23 18:25:21 +00:00
ian/v5_dev into v1.10.26-statediff-v5
Dismiss Review
Are you sure you want to dismiss this review?
Labels
Clear labels
bug
critical
duplicate
enhancement
epic
help wanted
in progress
invalid
low priority
question
rebase
v1
v5
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
An issue or PR manually copied from GitHub.
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/go-ethereum#339
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Will close https://github.com/cerc-io/go-ethereum/issues/196, https://github.com/cerc-io/go-ethereum/issues/165, https://github.com/cerc-io/go-ethereum/issues/236, https://github.com/cerc-io/go-ethereum/issues/266, https://github.com/cerc-io/go-ethereum/issues/277
The main changes in v5 are:
Database changes:
uncle_hash=>uncles_hashmh_key=>cidstate_cidsnow only stores leaf nodes, so the PK can useleaf_keyin its tuplestate_accountstable internalized intostate_cidssince each record corresponds to an account nowstorage_cids now only stores leaf nodes, so the PK can useleaf_keyin its tupleleaf_cid=>cidinreceipt_cidsandlog_cidstablesaccess_list_elementstablepublic.blocks=>ipld.blocksStatediff process changes:
ipld.blocks(we can materialize them on demand if needed, or cache using a "proof watcher")Misc:
TODO:
Going to do the remaining TODOs in a separate PRs. This one is large enough,
@roysc pinging you just so you are aware of this, no need to review atm.
Merging this, cherry-pick PR otw.