input-output-hk / cardano-ops

NixOps deployment configuration for IOHK/Cardano devops
Apache License 2.0
65 stars 161 forks source link

create-genesis-and-keys: Set DPARAM to 1 at genesis. #402

Open shlevy opened 2 years ago

shlevy commented 2 years ago

We can't set up the stake pools until after we're in Shelley, but decentralisationParam takes effect immediately. This results in the initial Shelley epochs having too few blocks, breaking invariants.

New testnets should wait until stake pools are up and running and then update the decentralisationParam with an update proposal (perhaps at the same time as the move to Allegra)

shlevy commented 2 years ago

@jbgi FYI

shlevy commented 2 years ago

Draft while I'm testing.

shlevy commented 2 years ago

@disassembler thinks this shouldn't be in here, but I'm confused as to how it could ever be right to start Shelley with decentralisationParam != 1