-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create-testnet-data's implementation: explain why drepDelegs can be left empty #991
create-testnet-data's implementation: explain why drepDelegs can be left empty #991
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, sorry, just noticed unmatched quotes
cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs
Outdated
Show resolved
Hide resolved
8fb4b87
to
de15cc7
Compare
de15cc7
to
a12df9d
Compare
@@ -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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the actual explanation from Alexy here and also confirm if the `"delegators" field will be removed?
Linking to the actual issue would be better: IntersectMBO/cardano-ledger#4782 (comment)
Changelog
Context
Document with a comment why #987 is not required
How to trust this PR
It's comments only
Checklist