Skip to content

Commit

Permalink
Merge pull request #991 from IntersectMBO/smelc/create-testnet-data-e…
Browse files Browse the repository at this point in the history
…xplain-drepDelegs-being-empty

create-testnet-data's implementation: explain why drepDelegs can be left empty
  • Loading branch information
smelc authored Dec 11, 2024
2 parents 3c0af7a + a12df9d commit d96e800
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ runGenesisCreateTestNetDataCmd
{ L.drepExpiry = EpochNo 1_000
, L.drepAnchor = SNothing
, L.drepDeposit = max (L.Coin 1_000_000) minDeposit
, L.drepDelegs = Set.empty
, L.drepDelegs = Set.empty -- We don't need to populate this field (field "initialDReps"."keyHash-*"."delegators" in the JSON)
-- because its content is derived from the "delegs" field ("cgDelegs" above)
-- More context is provided here: https://github.com/IntersectMBO/cardano-cli/pull/987
}
)
)
Expand Down

0 comments on commit d96e800

Please sign in to comment.