Skip to content

Bootstrap Governance Module #385

@lowhung

Description

@lowhung

Context

The Governance State module tracks active governance proposals, votes, and ratification state across Alonzo/Babbage (update proposals) and Conway (governance actions) eras. It subscribes to governance procedures, DRep/SPO distributions, and protocol parameters to process voting and determine outcomes.

Problem

When bootstrapping from a snapshot (e.g., epoch 500), the governance state module needs to initialize active proposals and current voting state rather than replaying all governance procedures from genesis.

Acceptance Criteria

  • Governance state initializes from snapshot data during bootstrap
  • Active proposals loaded from snapshot
  • Voting registration state initialized from snapshot distributions
  • Normal governance processing continues after bootstrap

Testing Requirements

  • Bootstrap from fixture snapshot initializes governance state correctly
  • Test against Governance-related Blockfrost queries to ensure correct data is being returned

Definition of Done

  • Governance state initializes from snapshot without replaying procedures
  • Active proposals and voting state accurate after bootstrap
  • Governance queries work correctly after bootstrap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions