Skip to content

Read genesis parameters within ParametersState #37

@sandtreader

Description

@sandtreader

The GenesisBootstrapper currently sends the Conway parameters as part of its startup message, which the ParametersState holds until needed. However there are also parameter updates in (e.g.) Shelley, and it would all get a bit messy.

It would be better if the GenesisBootstrapper watched block headers (see EpochActivityCounter for example) spotted the epoch boundaries for new eras (e.g. 208 for Shelley), and sent a ParametersUpdate message at the relevant time. We could also split out the parameters update from the EnactState message sent by GovernanceState, and ParametersState would then only need to listen for that.

We also need the GenesisBootstrapper to generate 'fake' SPO registrations from the genDelegs array (see #38 )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions