Skip to content

migrate(): rewrite the two historical event records #115

Description

@0xdevcollins

The record layout change breaks decoding of existing rows. Mainnet holds exactly two events, both Completed with zero remaining escrow, so a one-pass rewrite is feasible now and never will be again.

Done when

  • migrate() rewrites both records from percentages to equivalent prize_floors, using each event's own total_budget
  • Both remain readable via get_event after migrate
  • Per-(from, to) dispatch follows the existing pattern in admin.rs

Events: 271539957145796609, 271539957145796610. See plan 2.1 and 3.4.


Plan: boundless-bounty-programs-implementation-plan.md

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions