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

Backport release cardano-ledger-conway-1.17.4.0 #4814

Closed
wants to merge 13 commits into from

Conversation

lehins
Copy link
Collaborator

@lehins lehins commented Dec 30, 2024

Description

This is a backport of #4813

Checklist

  • Commits in meaningful sequence and with useful messages
  • Tests added or updated when needed
  • CHANGELOG.md files updated for packages with externally visible changes

    New section is never added with the code changes. (See RELEASING.md)
  • Versions updated in .cabal and CHANGELOG.md files when necessary, according to the
    versioning process.
  • Version bounds in .cabal files updated when necessary

    If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • Code formatted (use scripts/fourmolize.sh)
  • Cabal files formatted (use scripts/cabal-format.sh)
  • hie.yaml updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

lehins added 13 commits October 21, 2024 15:29
Introduction of an internal variant allows us using it in the DELEG
ledger rule where we have current delegation readily available
Previous semantics did not allow to withdraw rewards and deregister in
the same transaction, because deregistration would effectively clear
out delegation to a DRep, thus preventing withdrawals
This is how it was suppose to be implemented to begin with, however this
fix no longer can be applied without a hradfork, so the follow up commit
will take care of that.
We can no longer fix this issue without a hardfork. The danger of fixing
it without a hardfork would be that discrepencies in the ledger state
could lead to different nodes having different DRep delegations when we
out of the bootstrap, if such bug to be manifested on mainnet.

This commit ensures that the fix is applied during the hardfork out of
the bootstrap phase.
@lehins lehins requested a review from a team as a code owner December 30, 2024 21:12
@lehins
Copy link
Collaborator Author

lehins commented Dec 30, 2024

Dammit. Opened a PR from a wrong branch

@lehins lehins closed this Dec 30, 2024
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.

1 participant