Contracts: WarBow PvP on DOUB + WarBow-epoch score reset #252
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#252
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?
Context
WarBow PvP with DOUB costs and independent WarBow epoch reset. Parent epic: #238.
Relevant files
contracts/src/TimeCurve.solWarBow section →TimeArena.solTimeCurveWarBow*.t.solAcceptance criteria
docs/product/primitives.mdunless spec amendsfinalizeWarbowPodium(epoch, first, second, third)Verification checklist
battlePointsbutfinalizeWarbowPodium(oldEpoch, ...)still pays from that epoch's poolmarked as related to #238
mentioned in issue #238
mentioned in issue #243
mentioned in issue #245
Implementation summary
finalizeWarbowPodium.Acceptance criteria
Verification checklist
test_warbow_steal_pulls_doubmentioned in issue #263
mentioned in commit
64e2f830e1mentioned in commit
d7c880768dVerification complete (#252)
Verified WarBow DOUB PvP on
TimeArenain worktreeissue/252-warbow-pvp, merged tomainat64e2f83.Findings & fixes
1000e18, guard10000e18, override50000e18, revenge1000e18, flag claim0.rollPodiumEpoch(CAT_WARBOW)now bumpswarbowBpGenerationso stalebattlePointsread as zero (was podium-only clear).finalizeWarbowPodium(epoch, …)pays the retained active pool after roll.TimeArenaTestcases pass.Acceptance criteria
finalizeWarbowPodiumDocs / skills updated
docs/product/arena-v2.md,docs/product/time-arena.mddocs/testing/invariants-and-business-logic.md—INV-TIME-ARENA-WARBOW-DOUB,INV-TIME-ARENA-WARBOW-EPOCH-RESETskills/play-time-arena-warbow/SKILL.md(live, no longer stub)contracts/PARAMETERS.md, guardrails + agent metadata crosslinksManual verification checklist
cd contracts && forge test --match-contract TimeArenaTest --match-test warbowWARBOW_*_DOUBon deployed proxy viacast callwarbowSteal/warbowActivateGuard/warbowRevengepull DOUB (Anvil wallet balance delta)rollPodiumEpoch(3)clearsbattlePoints(user)reads; pool balance unchanged until ownerfinalizeWarbowPodium(0, …)GET /v1/arena/warbow/*feeds reflectWarBowSteal/WarBowGuardevents post-deployAll automated criteria from the issue body and prior comment pass; closing.
mentioned in issue #273
mentioned in issue #300
mentioned in issue #302
mentioned in issue #309
mentioned in merge request !465
mentioned in issue #310
mentioned in issue #367