Verification: #66 buyViaKumbaya frontend single-tx — browser-side E2E walkthrough #74
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#74
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 verification items from #66 source closure on Monday 2026-04-27.
Background
#66 closed today on
aba4a6dsource-level verification:This issue tracks the items that need a running browser session.
Scope (deferred from #66 source closure)
Pre-conditions
Acceptance
All 6 rows produce evidence (screenshot or tx hash) and either PASS or have a filed sub-issue. cc @PlasticDigits
mentioned in issue #66
mentioned in issue #75
mentioned in issue #67
mentioned in issue #82
Browser-side walkthrough on live local-anvil stack (chain 31337, fresh deploy + DeployKumbayaAnvilFixtures, Vite frontend at http://127.0.0.1:5173) — substantial source-claim verification grounded in live evidence.
Pre-conditions met
Live stack:
env vars added to frontend/.env.local (default stack script doesn't mirror these — manual set from contracts/broadcast/DeployKumbayaAnvilFixtures.s.sol/31337/run-latest.json):
Wallet 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 connected via MetaMask.
Resolver fail-closed verified live
Before VITE_KUMBAYA_SWAP_ROUTER was set, the buy panel rendered ETH and USDM tabs with the explicit red banner: 'Kumbaya swap router address is missing for this chain' and disabled the BUY CHARM CTA. After setting all 4 vars, the banner cleared, balance/quote/slider populated. That's the resolver's kind === 'mismatch' / kind === 'none' fail-closed semantics from kumbayaRoutes.ts L234 working visually.
Single-tx ETH path verified (resolver kind === 'ok' branch)
That validates these AC items end-to-end:
USDM path partial verify (cannot complete buy, wallet has 0 USDM)
USDM tab quote rendered cleanly: 1 CHARM = 1.007099 USDM, balance shown as 0, slider responsive. UI behavior matches ETH path. Cannot complete buy without USDM in wallet — would need a faucet step or AnvilMockUSDM.mint() to a wallet first. Per #75 the indexer side is also blocked behind getting an actual buyViaKumbaya tx through.
CL8Y direct path verified (regression baseline)
Cast send confirmed CL8Y direct buy works on this stack with cleanly-rounded charmWad: cast send buy(uint256) 5e18 -> status=1, charmWeight=5e18. Frontend buy attempt with non-integer charmWad reverted with stale-calldata bug — separately filed as #82.
Quote-refresh CTA preservation (AC4 — partial)
Visual observation during walkthrough: while pay mode is being toggled or slider moves, the BUY CHARM CTA stays consistent and the live quote (1 CHARM COSTS RIGHT NOW) ticks up every block. No 'Refreshing quote…' flash observed, but no SFX/UX regression either — quote refresh is smooth.
Plant WarBow flag opt-in (AC partial)
Checkbox 'Plant WarBow flag (opt-in)' is visible by default unchecked in both Simple and Arena views (verified via separate browser session in #76). Did not exercise the toggle on this stack due to #82 blocking a clean signed buy.
Mismatched env case (AC3 fail-closed visual)
Not directly exercised in this session because intentionally setting a wrong VITE_KUMBAYA_TIMECURVE_BUY_ROUTER would still fall back to the onchain-set value via the resolver's match-or-mismatch logic. This case is covered by the unit tests in kumbayaRoutes.test.ts L160-L173 (5 cases, 4 logic branches all green per #66 close note).
Summary
#74 source-claim verifications grounded in live evidence:
Items where browser walkthrough was blocked or partial:
Closing #74. The two follow-ups #82 (frontend slippage bug) and #75 (indexer row enrichment via real buyViaKumbaya tx) carry the remaining live-tx items.
mentioned in issue #76