QA: YieldOmega contract + indexer test checklist #2
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contracts (Foundry)
TimeCurve
RabbitTreasury
FeeRouter
FeeSinks
LeprechaunNFT
DevStack Integration
TimeMath
Indexer (Rust + Postgres)
Frontend (Vite + Playwright)
Security (from threat model)
Current test counts
Invariant tests verified: 6/6 pass (256 runs, depth 25). RabbitTreasury handler: ~6300 calls across deposit/withdraw/epoch/fee with 0 reverts. TimeCurve + FeeRouter invariants also clean. Total: 111/111 forge test.
Pulled latest (
7316dce). 117/117 contract tests pass (up from 108 initial, 111 yesterday). 6 invariant tests included. Indexer lib 10/10.Frontend + indexer integration tests verified (2026-03-27):
Total across repo: 152/152 all green.
Remaining from checklist:
Update after QA implementation (commit
b66a62aonmain)@Brouie Could you verify in CI and locally with Postgres (
YIELDOMEGA_PG_TEST_URL) thatcargo testruns the fullpostgres_stage2_persist_all_events_and_rollback_afterintegration test, and thatnpm teststays green?Done in this round
UnknownDecodedEventvariants are exercised, includingTimeCurveReferralApplied,ReferralCodeRegistered, andPrizeVaultPrizePaid, with table row assertions./v1/timecurve/prize-distributions,/v1/timecurve/prize-payouts,/v1/referrals/registrations, and/v1/referrals/applied.rollback_after, we now assert block 100 rows are gone for buys, referral/prize tables, and rabbit deposits (proves new tables participate in reorg truncation).Not done (tracked as new issues; this issue stays open)
FORK_URL/foundry.tomlendpoints): still manual or optional CI./v1/referrals/applied: NoBAD_REQUESTvalidation for malformedreferrer(unlike buyer-stats); API behavior unchanged.clippy -D warnings: Pre-existing warnings inpersist.rs/reorg.rsnot addressed.Follow-up issues were opened to split the remaining work. This checklist issue remains open until those are closed or waived.
mentioned in issue #4
mentioned in issue #5
mentioned in issue #6
mentioned in issue #7
mentioned in issue #8
Follow-up issues opened: #4 (Playwright UI E2E), #5 (Anvil-backed E2E), #6 (optional MegaETH/RPC fork smoke), #7 (validate
referreron/v1/referrals/applied), #8 (indexer clippy-D warnings). This parent checklist (#2) stays open until those are done or explicitly waived.mentioned in issue #37
mentioned in issue #3
mentioned in issue #55
mentioned in issue #62
mentioned in issue #61
mentioned in issue #102
mentioned in issue #93
mentioned in issue #116
mentioned in issue #119
mentioned in issue #129
mentioned in issue #149
mentioned in issue #155
mentioned in issue #164
mentioned in issue #207
mentioned in merge request !398
mentioned in issue #279
mentioned in issue #326
mentioned in issue #325
mentioned in issue #344
mentioned in issue #342