WarBow flag plant via Buy does not refresh pending-flag UI until another action #370
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#370
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?
Bug
User report: "I tried with the buy button on top. But the flag was not planted until I used the steal button. I'll double check next time again"
Plant Flag on Next Buy + top Buy CHARM should plant onchain and update the WarBow pending-flag UI immediately after the buy mines. Users currently only see the planted flag after a later WarBow action (e.g. steal) refreshes related reads.
Likely cause
With indexer-first Arena display (#301),
GET /v1/arena/timersomitswarbowPendingFlag*fields. Those come from a separate RPC supplement (arenaV2WarbowFlagSupplementContracts).submitBuy→refetchAllrefreshes timers/sale/user/CRED/hero timer but does not refetch the WarBow flag supplement query (refetchInterval: false). Steal/other WarBow writes trigger broader wallet refreshes, so the planted flag appears later — matching the report.Also verify:
plantWarBowFlag=trueinto the correctbuy/buyViaKumbayaoverload.buyWithCredhardcodesplant=false) — UI should not imply they can.Acceptance
warbowPendingFlag*reads.Related
mentioned in commit
fa467f9181mentioned in merge request !541
mentioned in commit
e6fb5f8bea