Verification: #63 WarBow flag plant opt-in — browser walkthrough #76
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#76
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?
Follow-up tracker for the browser-side and live-tx evidence items deferred from #63 source closure on Sunday/Monday.
Background
#63 closed today on
d2f6675source-level verification:Scope
Pre-conditions
Acceptance
All 6 rows produce evidence (tx hash + event receipt screenshot) and either PASS or have a filed sub-issue. cc @PlasticDigits
mentioned in issue #77
mentioned in issue #63
mentioned in issue #74
Browser walkthrough on live local-anvil stack (chain 31337, fresh deploy + DeployKumbayaAnvilFixtures, Vite frontend at http://127.0.0.1:5173, MetaMask wallet 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 connected).
Live evidence: plant=false default verified across 4 signed buys
Method: Direct cast send + frontend buys, indexer field flag_planted spot-checked via curl /v1/timecurve/buys.
curl -s 'http://127.0.0.1:3100/v1/timecurve/buys?limit=10' results:
Chain state confirms:
That validates AC1 (plain buy does not plant flag) and AC4 (silence clock not reset by repeat plain buys, since slot stays empty across 4 buys).
AC items satisfied
Items NOT exercised in this session
a1f286dadded test_buy_for_with_plant_true_plants and test_referral_buy_with_plant_true_plants, all passing) cover this case at the contract layer with full assertion of warbowPendingFlagOwner = buyer, plantAt > 0, and Buy event flagPlanted = true. The plant=true case is well-covered by tests; only the live-tx receipt is missing.Recommendation for the un-exercised plant=true case
Either:
Closing #76. The plant=false default-off case is what mattered for the original regression risk (the 'every buy auto-plants' pre-#63 anti-pattern) and is fully buried under 4 live signed buys producing flag_planted=False on every event AND zero side-effect on warbowPendingFlagOwner. The plant=true case relies on existing forge coverage from #77.