-
Notifications
You must be signed in to change notification settings - Fork 133
fix(l2): use checkpoints to persist previous batch state #5037
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
328932d
Add checkpointer
da7a646
Add L2 block production
9bd8506
Add a single tx for each produced block
6aaba68
Add initial checkpoint generation logic
2c7432d
Add comments
004632f
Include 7200 blocks batch
2912e28
Update create_checkpoint
bb46d61
Update apply_account_updates_from_trie_with_witness
51582a8
Update generate_witness_for_blocks
cc50ea5
Update naming
2c3a1e8
Merge branch 'main' of github.com:lambdaclass/ethrex into checkpointer
cbc8d53
Use checkpoints on committer
76abb2f
Update checkpointer lock
cf1aac5
Fix
6ecc127
Remove needless apply_forkchoice call over the one_time_checkpoint_store
930b778
Fix generate_witness_for_blocks
9c694fb
Cleanup
aba49f6
Pass checkpoint dir to L1Committer
067b628
Untrack checkpointer bin
301daf3
Merge branch 'main' of github.com:lambdaclass/ethrex into checkpointer
6ae9d1b
Update crates/storage/store.rs
ilitteri 3866ca1
Update crates/l2/sequencer/l1_committer.rs
ilitteri 1663345
cargo fmt
b757259
Increase fd limit
f2ea803
Improve error message
5a5f7d8
Fix
7098fb0
Add caution comment
bfcadbe
Improve comment
14197f1
Fix
8001fae
Merge branch 'main' of github.com:lambdaclass/ethrex into checkpointer
934683b
Fix
8a29d11
Remove apply forkchoice by keeping a hashes map
a954b36
Fix
1948a88
Fix
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.