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

v14 cleanup #1017

Merged
merged 2 commits into from
Dec 7, 2023
Merged

v14 cleanup #1017

merged 2 commits into from
Dec 7, 2023

Conversation

sampocs
Copy link
Collaborator

@sampocs sampocs commented Dec 6, 2023

Context

For upgrade v14, we added the field DelegationChangesInProgress initialized to 0. There was a tail risk that there would actually be an ICA in progress at the time that the upgrade happened, so we had temporarily swallowed an error case of the changes going below 0.

Now that the upgrade has succeeded and this case should no longer be possible, we can go back to throwing an error.

[Relevant PR]
[Relevant Comment]

Brief Changelog

  • Removed error swallow in delegation and undelegation callback

Copy link
Contributor

@riley-stride riley-stride left a comment

Choose a reason for hiding this comment

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

Great memory to get this in the upgrade. And thanks for linking to the relevant comment, made the review very easy.

To make sure we have a good system for to-dos going forward: where do you typically track to-dos for future upgrades? I see the // TODO in the code, do you typically search for those before cutting an upgrade?

@sampocs
Copy link
Collaborator Author

sampocs commented Dec 7, 2023

I don't really have a system - just happened to notice this! Fwiw, I'm not sure there are any other pressing TODOs, but if there are we can just make a GH issue!

@sampocs sampocs merged commit e61678b into main Dec 7, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants