-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(continuations): write storage values directly in linked lists #433
Merged
Nashtare
merged 141 commits into
feat/continuations
from
late_hash_continuations_storage_optim
Aug 2, 2024
Merged
Changes from all commits
Commits
Show all changes
141 commits
Select commit
Hold shift + click to select a range
a50e2db
[WIP] add account to linked list
4l0n50 52dc55d
Add account linked list and some unit tests
4l0n50 d242757
Modify tests for insetions and fix bugs
4l0n50 4558a38
Fix deletion test
4l0n50 c369aa5
[WIP] Getting trie data without leaves
4l0n50 ecf0e86
[WIP] changes during the flights
4l0n50 65773d8
Fix storage ll error
4l0n50 c9e3b4f
Add missing file
4l0n50 ba87c79
[WIP] checking consistency between linked list and state trie
4l0n50 6fc8c22
[WIP] addr 0x798c6047767c10f653ca157a7f66a592a1d6ca550cae352912be0b07…
4l0n50 31a850f
[WIP] add missing nibbles to key
4l0n50 d1df4c5
Fix accounts insertions
4l0n50 7689629
Check storage reads
4l0n50 29b79b1
Add segments to preinitialization
hratoanina edfc137
[WIP] Unreasonable offset
4l0n50 796087b
[WIP] Erc721 error
4l0n50 566ccb5
[WIP] uncomment ll reads
4l0n50 12e63ea
[WIP] Fixing iterator
4l0n50 c1f47dd
Fix unit tests
4l0n50 9a9323d
Fix erc721 error
4l0n50 6c93057
mend
4l0n50 48d1cfe
Remove debug info
c938cad
mend
dba0967
[WIP] hashing
4l0n50 8a386f9
Provide constants non-deterministically
hratoanina 5deb97d
Update journaling
LindaGuiga fbb216b
Update search_account and read_accounts_linked_lists
LindaGuiga 8c3ac79
Constraint state and storage leaves
1232b9a
Update slot and account search methods in linked_lists and update rev…
LindaGuiga 5d43ff4
Fix asm
LindaGuiga bd1215d
Some fixes and debugging
LindaGuiga c4f410d
Fix hash mismatch
f650e8a
Fix bug while setting storage payloads
55255f6
Merge remote-tracking branch 'refs/remotes/origin/linked_lists' into …
128f614
Add functions for updating final trie
95e3001
[WIP] eliminating trie call
4l0n50 660a4f4
[WIP] Fix kexit_data issue
4l0n50 b9e2307
Merge with journaling branch
4l0n50 287cddd
Merge with journaling branch
4l0n50 9915fed
[WIP] set final tries
4l0n50 9a28eb5
Mutate storage payload on insertions
4l0n50 09a03b2
Fix deletions in final trie computation
4l0n50 7661bce
Remove double hashing of the initial state trie
4l0n50 2b666db
Merge branch 'develop' into linked_lists
Nashtare a144892
Misc
Nashtare dbc5a6a
trace_decoder/Cargo.toml
4l0n50 6bea276
Fix return from read_storage_linked_list_w_addr
Nashtare 7660051
[WIP] debugging unit tests
4l0n50 67fd5cb
Merge remote-tracking branch 'refs/remotes/origin/linked_lists' into …
4l0n50 f0068aa
Fix set_payload_storage_extension and bring back final gas check
Nashtare 885fe35
Merge remote-tracking branch 'refs/remotes/origin/linked_lists' into …
4l0n50 a4c3f91
Fix failing shanghai blocks
4l0n50 3922c06
Fix run_next_addresses_remove and some revertions
LindaGuiga 24e6e6b
Some journaling fixes
LindaGuiga 4355a51
FIx revert_storage_change and revert_account_created
LindaGuiga 33235a9
Fix delete account
4l0n50 f54864a
[WIP] fixing LoopCallsDepthThenRevert3_d0g0v0_Shanghai.json
4l0n50 8945002
Add an overwrite version of account insertion and use it for mpt_inse…
LindaGuiga 87b0c63
Fix final state trie hash mismatch
4l0n50 ef231c0
Fix insert_new_slot_with_value
LindaGuiga 44e316e
Debugging variedContext_d10g0v0_Shanghai.json
4l0n50 29ca9df
Fix variedContext_d10g0v0_Shanghai
4l0n50 bf91f44
[WIP] Fixing vitalikTransactionTestParis_d0g0v0_Shanghai
4l0n50 c7ac311
Merge with develop
4l0n50 bc7341d
Merge remote-tracking branch 'origin/develop' into linked_lists
4l0n50 f34c4ed
Merge remote-tracking branch 'origin/develop' into linked_lists
Nashtare b83871d
Delete all associated slots when an account is deleted
LindaGuiga c6fed71
Fix run_next_remove_address_slots
LindaGuiga 268604e
Copy initial accounts and slots
4l0n50 7e99b14
Fix find condition in run_next_remove_address_slots
LindaGuiga f769fa6
Fix erc721
4l0n50 cc71c4b
Deep copy of accounts and slots
4l0n50 5d4737d
Merge remote-tracking branch 'origin/linked_lists' into linked_lists_…
4l0n50 8111883
[WIP] Testing evm test suite
4l0n50 05d75ab
Fix most unit tests and fix revert_account_created
LindaGuiga f35c2c8
FIx linked list test and a bit of cleanup
LindaGuiga 9bed611
Start merge
LindaGuiga 244c9a8
[WIP] Debugging /stExample/basefeeExample_d0g0v0_Shanghai
4l0n50 54b360a
Fix merge and add batch sizes to the benchmark
LindaGuiga da7902b
Fix test_only in zero_bin
LindaGuiga 1f8d853
Merge branch 'develop' into merge-continuations-develop
LindaGuiga ca490c1
Fix rlp pointers error
4l0n50 a9dc130
Minor
4l0n50 c07c4a4
Remove panic
Nashtare cb93551
Remove outdated counter update in insert_account_with_overwrite
4l0n50 53708dd
Merge remote-tracking branch 'refs/remotes/origin/linked_lists_late_h…
4l0n50 c1d8b4c
[WIP] Debugging InitCollisionParis_d2g0v0_Shanghai
4l0n50 eaddcc1
[WIP] Debugging stCallCodes/callcallcodecallcode_011_SuicideEnd_d0g0v…
4l0n50 29c23a9
Fix remove_all_slots
LindaGuiga 9c2a58b
Merge Linda's callcallcodecallcode_011_SuicideEnd_d0g0v0_Shanghai
4l0n50 d1a647e
Merge remote-tracking branch 'refs/remotes/origin/linked_lists_late_h…
4l0n50 71e3eee
Clean code
4l0n50 352767f
Fix account code initialize mpts
4l0n50 a31692a
Apply comments and fix CI.
LindaGuiga 2ce9465
Improve remove_all_slots_loop
LindaGuiga 9d6072b
Fix stack comment
Nashtare 899d471
Misc, faster get_valid_slot_ptr
Nashtare c9ad38e
[WIP] Debugging erc20
4l0n50 e4adcb0
Remove counter update and cold_access
Nashtare 5717dbc
Merge branch 'merge-continuations-develop' into linked_lists_continua…
LindaGuiga bb4e2d2
Fix log_opcode circuit sizes
LindaGuiga 99d0b8a
Fix stack comment and remove ctr update
Nashtare e59e282
Fix preinitialization
LindaGuiga ac6f85e
Fix unit tests
4l0n50 74c55a6
Debugging stShift/shr01_d0g0v0_Shanghai
4l0n50 6aeb8d3
Fixing shiftSignedCombinations_d0g0v0_Shanghai
4l0n50 6a10adc
Remove counter assertions from linked_lists tests
LindaGuiga af1c2c0
Merge branch 'linked_lists' into linked_lists_late_hash
LindaGuiga e395474
Merge branch 'linked_lists_continuations' into linked_lists_late_hash
LindaGuiga 5074895
Fix preinitialization and start cleanup
LindaGuiga 6e043f9
Fix test_process_receipt
LindaGuiga 09a4967
Merge remote-tracking branch 'origin/feat/continuations' into late_ha…
Nashtare 439b4a0
Fix MPT insert tests
Nashtare d3dd09a
Add check in mpt_insert tests
LindaGuiga b9b8c5c
Additional fixes
LindaGuiga 9d994c1
Pass preinitialized_segments when necessary
LindaGuiga 1756b03
Fix all unit tests
LindaGuiga 19aa264
Cleanup
LindaGuiga e725678
More comments cleanup
LindaGuiga 6436d12
Do not store memory content as vec
Nashtare dcf0575
Prevent needless conversion
Nashtare 97b21af
Remove needless copy
Nashtare 94a61e7
Remove needless checks
Nashtare 3c915f3
Use tuple_windows instead
Nashtare 526c456
Typo
Nashtare b992e9e
Remove leftover
Nashtare d9840d4
Remove unrelated changes
Nashtare b0c4248
Fix clone_slot
LindaGuiga 80212ae
Remove assert 0 from clone_slot
LindaGuiga 7445d53
Fix next_node_ok_with_value
LindaGuiga b46da0e
Apply comments and cleanup
LindaGuiga 04ab8f7
Fix next_node_ok_with_value and tiny cleanup
LindaGuiga 90cb9d1
Start addressing comments
LindaGuiga f92c4eb
Remove unnecessary linked_lists methods and payload_ptr
LindaGuiga 7ebae47
Store storage value in linked list
LindaGuiga e1e1fca
Fix Clippy and cleanup
LindaGuiga b52acc2
Apply comments
LindaGuiga d7dfec4
Only write to TrieData if value nonzero
LindaGuiga 6ffd490
Merge branch 'feat/continuations' into late_hash_continuations_storag…
LindaGuiga f2b29b2
Fix comments and name changed in merge
LindaGuiga d201a1f
Apply comments
LindaGuiga File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this needs a comment saying that is not unsound to simply guess the size. I think it's because the values in the storage linked lists are already non det. advice, so it doesn't matter from where you are reading them.