-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Context
The DRep State module handles DRep (Delegated Representative) state via certificate processing. It currently expects certificate messages with DRep registrations, updates, and deregistrations. During bootstrap, it needs to load all registered DReps from the snapshot's v_state.
Problem
When bootstrapping from a snapshot (e.g., epoch 500), the DRep state module needs to initialize all registered DReps and their metadata rather than replaying all certificates from genesis.
Acceptance Criteria
- DRep state initializes from snapshot data during bootstrap
- All registered DReps loaded with deposits and anchors
- DRep credential indexing established from snapshot
- Normal certificate processing continues after bootstrap
Testing Requirements
- Bootstrap from fixture snapshot initializes DRep state correctly
- DRep Blockfrost queries return correct data after bootstrap
Definition of Done
- DRep state initializes from snapshot without replaying certificates
- All registered DReps and metadata accurate after bootstrap
- DRep queries work correctly after bootstrap
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request