Skip to content

Commit e95324d

Browse files
authored
Merge pull request #1003 from IntersectMBO/smelc/more-details-in-conway-genesis-initialization
create-testnet-data: document in more details subtleties of Conway genesis initialization
2 parents 824a111 + f401d4a commit e95324d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,10 @@ runGenesisCreateTestNetDataCmd
489489
, L.drepAnchor = SNothing
490490
, L.drepDeposit = max (L.Coin 1_000_000) minDeposit
491491
, L.drepDelegs = Set.empty -- We don't need to populate this field (field "initialDReps"."keyHash-*"."delegators" in the JSON)
492-
-- because its content is derived from the "delegs" field ("cgDelegs" above)
493-
-- More context is provided here: https://github.com/IntersectMBO/cardano-cli/pull/987
492+
-- because its content is derived from the "delegs" field ("cgDelegs" above). In other words, when the Conway genesis is applied,
493+
-- DRep delegations are computed from the "delegs" field. In the future the "delegators" field may
494+
-- be omitted altogether from the JSON representation, but it remains in the Haskell type.
495+
-- More details are provided here: https://github.com/IntersectMBO/cardano-ledger/issues/4782
494496
}
495497
)
496498
)

0 commit comments

Comments
 (0)