Skip to content

fix(ci): restore green master build after #1471/#1476/#1478 - #1479

Merged
greatest0fallt1me merged 3 commits into
masterfrom
ci/fix-master-build
Oct 24, 2026
Merged

greatest0fallt1me merged 3 commits into
masterfrom
ci/fix-master-build

Conversation

@greatest0fallt1me

Copy link
Copy Markdown
Contributor

Master has been red since #1471, #1476 and #1478 were merged.

🤖 Generated with Claude Code

greatest0fallt1me and others added 3 commits October 24, 2026 15:56
- rate_limit_enforcement_tests (from #1476) never compiled: it imported a
  non-existent crate::test_utils, called CircuitBreaker::set_state and
  CircuitBreakerState::Open which do not exist, and lacked the testutils
  Ledger trait import. Its tests also registered a second, uninitialised
  contract after setup, so they could not pass. Drop the module; the
  rate-limiter enforcement changes from #1476 are kept.
- BudgetGuard::check compared *consumed* instructions against the
  "minimum remaining" threshold, so distribute_payouts aborted with
  OperationWouldExceedBudget after 100k instructions. This was hidden
  while resolution auto-distributed with `let _ =`; #1471 made
  distribution an explicit call and its payout gating tests exposed it.
  Compute remaining headroom against a per-transaction ceiling instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… limit

#1476 changed the voting bucket key from (user, market) to user, making
the voting limit global per user. The old test still expected a fresh
budget on a second market.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…indow

#1471 removed the automatic distribution from resolve_market_manual, so
the conservation test must wait out the post-resolution dispute window
and call distribute_payouts before checking credited balances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greatest0fallt1me
greatest0fallt1me merged commit c861e55 into master Oct 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant