Add permanent arena event pages and audit event directory (#364) #537
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!537
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-364-arena-event-pages"
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
Implements GitLab #364: permanent, indexer-backed arena event pages and an AUDIT-top event directory for marketing/discovery.
GET /v1/arena/events(filter/search/pagination) andGET /v1/arena/events/{id}(winners, chart buy sample, tx replay) backed byidx_arena_podium_epoch+idx_arena_last_buy_epoch_started.ArenaEventDirectorySectionon/audit(filter chips, search, paginated links); read-onlyArenaEventPageat/audit/events/{id}with title/meta, winners,StandingsVisualschart, tx replay, CTAs to/and/audit.audit/events/:eventIdregistered before referral catch-all; no new top-level reserved segments.INV-INDEXER-364-ARENA-EVENTS,INV-FRONTEND-364-ARENA-EVENT-PAGEScross-linked in arena-views, indexer design, frontend-content-audit.Acceptance checklist
/auditfilter + searchable event listcd frontend && npm test -- ArenaEventDirectorySection.test.tsx/audit/events/{id}from directoryYIELDOMEGA_PG_TEST_URL=… cargo test postgres_stage2_persist_all_events_and_rollback_afterLaunchGate.tsx+ existing referral testsStatusMessagewhen indexer unreachablecd indexer && cargo clippy --all-targets -- -D warnings && cargo testcd frontend && npm run typecheck && npm run lint && npm test -- ArenaEventDirectorySection indexerApibash scripts/verify-arena-events-anvil.shYIELDOMEGA_E2E_INDEXER=1 bash scripts/e2e-anvil.sh+e2e/anvil-audit-events.spec.ts --workers=5/audit+ one event pageThird-party verification
bash scripts/bootstrap-cloud-postgres-native.shexport YIELDOMEGA_PG_TEST_URL=postgres://yieldomega:password@127.0.0.1:5433/yieldomega_indexer_testcd indexer && cargo clippy --all-targets -- -D warnings && cargo testcd frontend && npm run typecheck && npm run lint && npm testbash scripts/verify-arena-events-anvil.sh/audit, search/filter directory, open an event link, confirm winners + tx hash without wallet.Follow-ups
Bugbot is not enabled for your account, so this pull request was not reviewed.
Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.
Security review — MR !537
Commit reviewed:
f7e9817f43491ebed054b2dc8f6831f003bd029a(issue-364-arena-event-pages)Scope: Indexer arena event catalog (
GET /v1/arena/events,GET /v1/arena/events/{id}inarena_events.rs), frontend AUDIT event directory + permanent event pages (ArenaEventDirectorySection,ArenaEventPage, routing inLaunchGate.tsx), and supporting tests/docs/scripts.Method: Diff review with attacker-input tracing to sinks (SQL, shell, SSRF, XSS, authz, path routing). Prior MR discussion threads re-checked (none from prior security review).
Outcome:
FINDINGS: 0medium+Inline threads: none
Areas examined (no exploitable path found)
?q=,?kind=,{id})format!only inlines staticEVENTS_UNION_SQL.parse_event_idenforces kind allowlist +0x+64-hex tx hash + non-negative log index before parameterized detail queries.document.title/meta)AddressInline/isAddress; titles computed server-side from fixed templates + hex addresses.audit/events/:eventIdregistered beforeauditand:referralSegment; links useencodeURIComponenton event ids.Security review: no medium+ findings on this diff.
mentioned in commit
ed8dea0040