op-dispute-mon: monitor ZK dispute games - #22123
Draft
wwared wants to merge 1 commit into
Draft
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
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.
Closes #18424.
Related scope: #18323.
Why
ZK dispute games are supported by the lifecycle scheduler but were invisible to
op-dispute-mon, whose extraction and downstream monitors assumed fault-game state. This adds native, pinned ZK monitoring without changing contracts, flags, runtime gates, or bond lifecycle behavior.The agreement metric now has a bounded
game_typelabel. Existing external dashboards and alerts must filter or aggregate that label.Testing
cd op-dispute-mon && mise exec -- just testmise exec -- go test ./op-challenger/game/fault/contracts/... ./op-challenger/game/zk/... ./op-dispute-mon/... ./op-devstack/dsl/disputemon/... -count=1RUST_JIT_BUILD=1 mise exec -- go test ./op-acceptance-tests/tests/proofs/zk/... -run '^TestZKDisputeMonitor' -count=1mise exec -- just lint-goThe full
mise exec -- just go-testsgate was also attempted. Changed packages passed, but the overall local run failed in unrelated packages that require missing generated Cannon/deployer artifacts andMAINNET_RPC_URL/SEPOLIA_RPC_URL; a concurrentop-e2e/system/feesfailure passed on isolated rerun.