Feature/virtual zkevm state proof v2#136
Merged
Merged
Conversation
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
… not head Signed-off-by: garyschulte <garyschulte@gmail.com>
…_getVirtualZkEVMStateMerkleProofV0 Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
…might potentially be a snapshot Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
…onor interrupted exception Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
aa05211 to
ceedb33
Compare
# Conflicts: # gradle.properties
fab-10
previously approved these changes
Feb 23, 2026
fab-10
approved these changes
Feb 23, 2026
2 tasks
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.
PR Description
Fixed Issue(s)
Documentation
doc-change-requiredlabel to this PR if updates are required.Changelog
Note
Medium Risk
Touches core world-state storage semantics and RPC/sync control flow; correctness depends on layered overlay read/delete behavior and trielog decoding matching Besu formats.
Overview
Adds a new JSON-RPC method
rollup_getVirtualZkEVMStateMerkleProofV0that simulates a transaction on top of a parent block (via Besueth_simulateV1), decodes the returned trielog, and returns the generated zk trace plus parent/end zk state roots.To support non-persistent simulation, introduces
LayeredWorldStateStorage(overlay-on-parent snapshot with delete tracking) andZkWorldStateArchive.generateVirtualTrace()which applies aTrieLogLayeragainst a cached parent snapshot using an ephemeralTraceManager.Also improves compatibility and robustness:
TrieLogLayerConverternow tolerates optional Besu metadata appended to trielogs, RPC clients handle JSON-RPCerrorresponses,GetRawTrieLogClientreuses a sharedVertx, andTrieLogBlockingQueue.waitForNewElement()avoids tight loops and responds faster to shutdown; several new unit tests cover these behaviors.Written by Cursor Bugbot for commit b9983e2. This will update automatically on new commits. Configure here.