Skip to content
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

Merged

Conversation

smelc
Copy link
Contributor

@smelc smelc commented Dec 11, 2024

Changelog

- description: |
    create-testnet-data's implementation: explain why drepDelegs can be left empty
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  - documentation  # change in code docs, haddocks...

Context

Document with a comment why #987 is not required

How to trust this PR

It's comments only

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • Self-reviewed the diff

Copy link
Contributor

@palas palas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Contributor

@palas palas left a 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

@smelc smelc force-pushed the smelc/create-testnet-data-explain-drepDelegs-being-empty branch from 8fb4b87 to de15cc7 Compare December 11, 2024 13:47
@smelc smelc force-pushed the smelc/create-testnet-data-explain-drepDelegs-being-empty branch from de15cc7 to a12df9d Compare December 11, 2024 13:47
@smelc smelc enabled auto-merge December 11, 2024 13:47
@smelc smelc added this pull request to the merge queue Dec 11, 2024
Merged via the queue into master with commit d96e800 Dec 11, 2024
25 checks passed
@smelc smelc deleted the smelc/create-testnet-data-explain-drepDelegs-being-empty branch December 11, 2024 15:21
@@ -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)
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants