Count every arcade broadcast attempt toward the cycle limit - #1202
Merged
Merged
Conversation
✅ Deploy Preview for memba-multisig canceled.
|
zxxma
force-pushed
the
fix/arcade-attestation-attempt-cap
branch
from
September 15, 2026 08:34
a1e330d to
493c8bf
Compare
|
The latest Buf updates on your PR. Results from workflow CI / proto (pull_request).
|
This was referenced Sep 15, 2026
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.
Summary
The arcade day-close worker limited successfully recorded attestations, so failed broadcasts across several game/day boards could exceed
MaxPerCycle. Count every broadcaster invocation before sending and subtract attempts when loading later boards. Failed transactions, already-delivered results and receipt-write failures all consume the cycle's allowance.Keep the returned successful-attestation count and existing retry parking behavior. Remaining work drains in later cycles. Clarify that this is an attempt bound, not a persistent daily/monthly gas budget. No production flags, signer balances or fee settings change.
Test plan
go test -mod=readonly -race -count=1 ./...passed using the installed Command Line Tools compiler and explicit SDK path; focused arcadego vetpassed.493c8bf0was rebased onto maine7707b78(merged fix: preserve Space Invaders taps between simulation frames #1201), with backend contents unchanged from the race-tested candidate; all hosted CI checks passed.be6ef1bainto2a7b3190. Fresh hosted CI validates the combined dependency update and fix; earlier local results below describe493c8bf0.gofmtandgit diff --checkpassed. No live signing or broadcasting.