IntersectMBO / cardano-api

Cardano API
Apache License 2.0
26 stars 23 forks source link

Use correct pattern for stake deregistration certs in Conway #657

Closed carbolymer closed 1 month ago

carbolymer commented 1 month ago

Changelog

- description: |
    Use correct stake deregistration certs in Conway
    Require 400,000 deposit when registering keys in `defaultShelleyGenesis`.
# 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

This ledger change:

Has triggered this defect:

Because we were using a pattern meant for older eras, for deregistration certificates in Conway.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist