Indexer: persist LastBuyEpochStarted and assign global last_buy_epoch on buys (#278) #407
No reviewers
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!407
Loading…
Reference in a new issue
No description provided.
Delete branch "cursor/indexer-last-buy-epoch-278-7e0c"
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?
Summary
Closes GitLab #278 — indexer parity with onchain global
lastBuyEpoch.LastBuyEpochStartedtoidx_arena_last_buy_epoch_startedidx_arena_buy.last_buy_epochfrom ordered global head during ingesttimer_hard_resetwindow inferencebash scripts/verify-last-buy-epoch-anvil.shINV-INDEXER-278-LAST-BUY-EPOCH, guardrails/skills cross-linksVerification
cd indexer && cargo clippy --all-targets -- -D warningsYIELDOMEGA_PG_TEST_URL=… cargo testbash scripts/verify-last-buy-epoch-anvil.shLeave #278 open for QA sign-off.
mentioned in commit
ae9653fc5bmentioned in issue #278
Security review (MR !407)
Commit reviewed:
0899de7d27c5a949e9d1667364b21a8295c8b6c4Scope: Indexer global
last_buy_epochingest (#278) — 16 files (last_buy_epoch_head.rs, migration,persist.rs,ingestion.rs, wallet-stats SQL, reorg list, tests, verify script, docs).Method: Diff-only; traced attacker-controlled input to sinks (SQL, HTTP wallet path, on-chain log order).
Outcome: FINDINGS: 0 — no medium, high, or critical issues on this diff.
Inline threads: None.