fix: recreate-missing-state-from panic#3464
Merged
Merged
Conversation
recreate-missing-state-from panics when attempting to execute stylus code as the stylus target cache is uninitialized
tsite
added a commit
to SyndicateProtocol/syndicate-appchains
that referenced
this pull request
Aug 11, 2025
Ticket Related Linear Ticket: SEQ-1235 What does this PR do? Summary: add an in-memory db for storing natively compiled wasm stylus programs while building blocks (first commit) Key Changes: also refactor synd-enclave to increase readability (remaining commits) Breaking changes? Yes/No: No Metrics changes? Yes/No: No Anything interesting? I found a bug with the recreate-missing-state flag: fix: recreate-missing-state-from panic OffchainLabs/nitro#3464 running nitro nodes in archive mode is essential, otherwise if the start block for the proof is too old and the state trie has been pruned, the node needs to re-execute all blocks from the genesis block onwards to derive it which can be slow. How can this PR be tested? ./tee-verifier --start-batch 1030 --end-batch 1040 on manchego no longer fails
tsahee
requested changes
Aug 19, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3464 +/- ##
===========================================
+ Coverage 0.00% 22.68% +22.68%
===========================================
Files 8 387 +379
Lines 363 58652 +58289
===========================================
+ Hits 0 13305 +13305
- Misses 363 43305 +42942
- Partials 0 2042 +2042 🚀 New features to boost your workflow:
|
Contributor
|
@tsite this PR seems good but I cannot merge it beccause it isn't up-to-base-branch. Thank you! |
Contributor
Author
|
@tsahee I sent you an invite to the repo & also updated the base branch |
Contributor
|
@tsite Thanks! I think you invited me to your go-ethereum fork instead of the nitro one :) |
tsite
pushed a commit
to SyndicateProtocol/nitro
that referenced
this pull request
Oct 31, 2025
fix: recreate-missing-state-from panic
tsite
pushed a commit
to SyndicateProtocol/nitro
that referenced
this pull request
Oct 31, 2025
fix: recreate-missing-state-from panic
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
recreate-missing-state-from panics when attempting to execute stylus code as the stylus target cache is uninitialized