Skip to content

24. Upgrade Simulation Test Harness (Golden State Migration) #310

@Cedarich

Description

@Cedarich

Status: Open (Wave 4 – lifecycle)
Labels: Contract, Testing, Admin, wave4
Complexity: High (200 points)
Summary
Create a repeatable test harness that deploys vN, populates realistic state, upgrades to vN+1, and validates all invariants and data integrity.
Tasks

  • Define a “golden state” fixture covering escrows, disputes, fees, nonces.
  • Implement upgrade flow in tests and verify schema migrations.
  • Assert invariants post-upgrade (balances, states, event compatibility).
  • Add regression tests for known migration pitfalls.
    Acceptance Criteria
  • Upgrade tests can run locally and deterministically.
  • No data loss or corruption across migrations.
  • Invariants are validated with clear failure messages.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions