Verification: #67 indexer buyViaKumbaya — live router ingestion + correlated buy E2E #75
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#75
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 live-stack items deferred from #67 source closure.
Background
#67 closed today on
5eaf345with comprehensive source + real-Postgres verification:#72 EIP-170 launch-blocker resolved today (
1bdbda8forge --code-size-limit fix), so the live stack is now available, but verification of the indexer ingestion path against deployed contracts wasn't completed before #67 closed at the source level. Tracking that here.Scope
5eaf345)Pre-conditions
1bdbda8+ (full deploy succeeds with --code-size-limit 524288 on both Anvil and forge)Acceptance
All 5 rows produce evidence (log line, psql query result, or curl /v1/timecurve/buys response excerpt) and either PASS or have a filed sub-issue. cc @PlasticDigits
mentioned in issue #67
mentioned in issue #74
mentioned in issue #83
Verified end-to-end on a fresh SKIP_ANVIL_RICH_STATE=1 stack at
e35bedewith #83 fix landed (5dd20d8).Live signed buyViaKumbaya
Setup: fresh stack, Kumbaya fixtures deployed via YIELDOMEGA_DEPLOY_KUMBAYA=1 verify-timecurve-buy-router-anvil.sh, VITE_KUMBAYA_* env mirrored into frontend/.env.local, browser ETH single-tx via Simple page, slider ~2.1 CHARM.
Tx 0x15982fc20c8bb57b8a49bfb6d0ca719388a3e6d75dfaf18b2e3648b8c88c5403:
UI confirmed: +120s timer extension, Recent Buys row 0xf39fd6...2266 / 2.103852668695576051 CHARM / +120s.
Indexer kumbaya table populated
idx_timecurve_buy_router_kumbaya row from the same tx:
pay_kind = 0 (PAY_ETH) confirms the entry-pay-asset enrichment from #67 is wired and persisting correctly. Schema spot-check: PK on (tx_hash, log_index), lookup index on (tx_hash, buyer, charm_wad), all 9 columns present (block_number, block_hash, tx_hash, log_index, contract_address, buyer, charm_wad, gross_cl8y, pay_kind).
Small infra note for awareness
The default scripts/start-local-anvil-stack.sh writes contracts/deployments/local-anvil-registry.json with TimeCurve / RabbitTreasury / LeprechaunNFT / FeeRouter / PodiumPool / ReferralRegistry but NOT TimeCurveBuyRouter. So even after running verify-timecurve-buy-router-anvil.sh to deploy the router, the indexer (which reads ADDRESS_REGISTRY_PATH at startup) does not see it and BuyViaKumbaya events get dropped on the floor.
To complete this verification I had to manually patch the registry to add TimeCurveBuyRouter: 0x998abeb3...3613E and restart the indexer. Not blocking, but worth folding into either start-local-anvil-stack.sh or verify-timecurve-buy-router-anvil.sh so future QA sessions do not re-hit it. Same family as the VITE_KUMBAYA_* env mirror gap I flagged in the #83 closure.
Closing #75.
cc @PlasticDigits
Registry / QA follow-up:
start-local-anvil-stack.shwriteslocal-anvil-registry.jsonwithout TimeCurveBuyRouter, so afterverify-timecurve-buy-router-anvil.shdeploys the router the indexer (startupADDRESS_REGISTRY_PATH) still drops BuyViaKumbaya until the JSON is patched manually. Tracked in https://gitlab.com/PlasticDigits/yieldomega/-/issues/84 — same family as the VITE_KUMBAYA_* env mirror gap called out on #83. Leaving #75 closed.mentioned in issue #58
mentioned in issue #38