Treasury vault: no cliff, 36 monthly releases #12

Merged
Taskuler-bot merged 2 commits from fix/treasury-no-cliff into main 2026-11-13 03:38:33 +00:00
Member

Decision 2026-11-12 (George): drop the 12-month hold on the Treasury vault, keep 36 monthly releases.

  • script/DeployPhase1.s.sol: named constants for both schedules (community 0/48, Treasury 0/36); the Treasury vault is now deployed with cliffMonths = 0.
  • MonthlyVestingVault: NatSpec only. Contract logic is unchanged and still supports a cliff.
  • Tests: test_DeployVestingSchedules, test_TreasuryNoCliff36Months (first 1/36 at the end of month 1, fully vested at month 36), test_CliffStillSupportedByVault. Existing fixtures updated to 0/36.
  • Docs: README, AUDIT-SCOPE, KNOWN-ISSUES KI-12, SECURITY-NOTES.

forge test on this branch alone (339156d): 241 passed, 0 failed.

Merge order: after #13. This branch now merges in fix/pre-audit-3 (#13) with the docs/AUDIT-SCOPE.md table resolved (total 2588 lines, 1713 nSLOC), so after #13 is merged this one merges cleanly and its diff shrinks to the treasury change. Its head equals the trial merge of both PRs: forge test with the fork RPC set, 255 passed, 0 failed, 0 skipped; TaskulerMarket 23,940 B (636 B margin).

No deployment in this PR. The Sepolia deployment still has the old schedule until a redeploy is approved.

Decision 2026-11-12 (George): drop the 12-month hold on the Treasury vault, keep 36 monthly releases. - `script/DeployPhase1.s.sol`: named constants for both schedules (community 0/48, Treasury 0/36); the Treasury vault is now deployed with `cliffMonths = 0`. - `MonthlyVestingVault`: NatSpec only. Contract logic is unchanged and still supports a cliff. - Tests: `test_DeployVestingSchedules`, `test_TreasuryNoCliff36Months` (first 1/36 at the end of month 1, fully vested at month 36), `test_CliffStillSupportedByVault`. Existing fixtures updated to 0/36. - Docs: README, AUDIT-SCOPE, KNOWN-ISSUES KI-12, SECURITY-NOTES. `forge test` on this branch alone (339156d): 241 passed, 0 failed. **Merge order: after #13.** This branch now merges in `fix/pre-audit-3` (#13) with the `docs/AUDIT-SCOPE.md` table resolved (total 2588 lines, 1713 nSLOC), so after #13 is merged this one merges cleanly and its diff shrinks to the treasury change. Its head equals the trial merge of both PRs: `forge test` with the fork RPC set, 255 passed, 0 failed, 0 skipped; TaskulerMarket 23,940 B (636 B margin). No deployment in this PR. The Sepolia deployment still has the old schedule until a redeploy is approved.
Deploy script constants for both vesting schedules (community 0/48, Treasury 0/36),
vault NatSpec, tests (schedule check, no-cliff release steps, cliff still supported
by the vault), README, AUDIT-SCOPE, KNOWN-ISSUES KI-12, SECURITY-NOTES.
- DisputeLib: timeout pending check works with the deployed KlerosCore 0.10.0
  (5-value disputes() return) as well as rc.2; any period after evidence counts
  as pending; returndata copies capped at three words.
- Fork tests against the KlerosCore on Arbitrum Sepolia: disputes() layout,
  createDispute from the Market, full period flow to executeRuling, timeout gate.
- BuilderBonus: cancelling an award bars its builder and customer for the rest
  of the current period and keeps their period counts; USDC minimum bounty
  documented and scripted as 1,000 USDC.
- Review jobs: 24h REVIEWER_ACCEPT_DELAY between reviewer (re)assignment and
  accepting a bid; delisting a reviewer requires a reason.
- Docs: KNOWN-ISSUES (KI-5, KI-8, KI-9), THREAT-MODEL, AUDIT-SCOPE, README,
  SECURITY-NOTES, OPEN-QUESTIONS.
- BuilderBonus: a cancel bars both addresses for BAR_PERIODS (2) full periods from the cancel (barredUntil timestamp)
- ReviewerRegistry: whitespace-only delist reasons are rejected
- Fork tests fail instead of skipping when CI or REQUIRE_FORK_TESTS is set and ARB_SEPOLIA_RPC_URL is missing
- REVIEWER_ACCEPT_DELAY = 24 hours recorded as decided
- docs: DEPLOY-RUNBOOK go-live gates, Kleros mainnet items in KNOWN-ISSUES and OPEN-QUESTIONS, deploy script note
Resolves the docs/AUDIT-SCOPE.md table (total 2588 lines, 1713 nSLOC) so both PRs merge cleanly in order.
george approved these changes 2026-11-13 03:36:47 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
taskuler/contracts!12
No description provided.