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

Ensure dreps exist prior to delegation #4652

Merged
merged 16 commits into from
Oct 8, 2024

Conversation

lehins
Copy link
Collaborator

@lehins lehins commented Sep 28, 2024

Description

Fixes #4598

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/ensure-dreps-exist-prior-to-delegation branch 4 times, most recently from 5055afd to 6e3b413 Compare October 3, 2024 21:42
@lehins lehins force-pushed the lehins/ensure-dreps-exist-prior-to-delegation branch 2 times, most recently from 7bc121b to c98bdd4 Compare October 4, 2024 02:55
@lehins lehins marked this pull request as ready for review October 4, 2024 05:32
@lehins lehins requested a review from a team as a code owner October 4, 2024 05:32
@lehins lehins force-pushed the lehins/ensure-dreps-exist-prior-to-delegation branch from c98bdd4 to a0cac9a Compare October 4, 2024 17:33
Copy link
Contributor

@teodanciu teodanciu left a comment

Choose a reason for hiding this comment

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

Looks good to me, just a few questions but nothing important - you can safely ignore them.

@Lucsanszky Lucsanszky force-pushed the lehins/ensure-dreps-exist-prior-to-delegation branch from aa30e39 to b0c216f Compare October 8, 2024 00:24
@Lucsanszky Lucsanszky force-pushed the lehins/ensure-dreps-exist-prior-to-delegation branch from b0c216f to 1b13241 Compare October 8, 2024 00:28
Until now we discarded the delegatee cases. This led to the
generation of signals where a delegatee key was already unregistered
in the same signal, resulting in a `DelegateeDRepNotRegisteredDELEG`
or a `DelegateeStakePoolNotRegisteredDELEG` failure.
This commit can be reverted once the spec is up-to-date with:
#4598
@Lucsanszky Lucsanszky force-pushed the lehins/ensure-dreps-exist-prior-to-delegation branch from 1b13241 to 1c97496 Compare October 8, 2024 00:31
@Lucsanszky Lucsanszky enabled auto-merge October 8, 2024 03:16
Copy link
Contributor

@Lucsanszky Lucsanszky left a comment

Choose a reason for hiding this comment

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

@teodanciu I marked your remarks as resolved so I can merge. I'll let @lehins to address them.

@Lucsanszky Lucsanszky merged commit ea4c449 into master Oct 8, 2024
155 checks passed
@Lucsanszky Lucsanszky deleted the lehins/ensure-dreps-exist-prior-to-delegation branch October 8, 2024 03:34
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.

Ensure that dRep ID exists prior to delegation
4 participants