Skip to content

Extend creator event campaign metadata#975

Merged
Olowodarey merged 3 commits into
Arena1X:mainfrom
Kuhai9801:issue-953-creator-event-campaign-fields
Jun 17, 2026
Merged

Extend creator event campaign metadata#975
Olowodarey merged 3 commits into
Arena1X:mainfrom
Kuhai9801:issue-953-creator-event-campaign-fields

Conversation

@Kuhai9801

Copy link
Copy Markdown
Contributor

Summary

Closes #953.

Adds campaign metadata fields to cached creator events and updates the indexer so EventCreated payloads populate them.

Changes

  • Added the 8 campaign fields to CreatorEvent.
  • Added a migration with existing-row backfills and the 2 required indexes.
  • Updated EventCreated extraction and persistence for new payloads and legacy events.
  • Added focused indexer tests for JSON RPC payloads, legacy payloads, defaults, and malformed optional metadata.

Notes

  • Legacy events without campaign fields default to a 90-day window, matching MAX_EVENT_DURATION_SECONDS in contracts/creator-event-manager.

Validation

  • git diff --check
  • git apply --check against a clean checkout

@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview, Comment Jun 17, 2026 8:21pm

@Olowodarey

Copy link
Copy Markdown
Collaborator

@Kuhai9801 fix conflict pls

@Kuhai9801 Kuhai9801 marked this pull request as ready for review June 17, 2026 20:42
@Olowodarey

Copy link
Copy Markdown
Collaborator

@Kuhai9801 nice job weldone

1 similar comment
@Olowodarey

Copy link
Copy Markdown
Collaborator

@Kuhai9801 nice job weldone

@Olowodarey Olowodarey merged commit 4e29d1d into Arena1X:main Jun 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] — Extend CreatorEvent entity with campaign duration, prize pool, reward distribution, entry fee & branding

2 participants