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

Fix deserialization of bad Ptrs in IncrementalStake #4589

Merged

Conversation

lehins
Copy link
Collaborator

@lehins lehins commented Aug 31, 2024

Description

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages.
    New section is never added with the code changes. (See RELEASING.md)
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated.
    If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@lehins lehins force-pushed the lehins/fix-deserialization-of-bad-ptrs-in-incrementalstakedistr branch from 89560ac to 7cb30c2 Compare August 31, 2024 19:46
Tomorrow we are going into Conway, so this Map will no longer be useful
as soon as we clean up the Ptr resolution. If we generate Ptr map in
IncrementalStake we will run into issues with roundtripping
serialization for Conway. So the easiest path forward is to disable
generation now and completely get rid of the field later.
Copy link
Contributor

@disassembler disassembler left a comment

Choose a reason for hiding this comment

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

Approving based on @amesgen testing earlier today pending CI roundtrip failures are addressed first.

@lehins lehins merged commit c55f7ca into master Sep 1, 2024
153 of 155 checks passed
@lehins lehins deleted the lehins/fix-deserialization-of-bad-ptrs-in-incrementalstakedistr branch September 1, 2024 05:59
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.

2 participants