Skip to content

fix: prohibit manager changes on non-live pools#872

Merged
rflechtner merged 2 commits intobonded-coins-audit-fixesfrom
audit-issue-13
Mar 10, 2025
Merged

fix: prohibit manager changes on non-live pools#872
rflechtner merged 2 commits intobonded-coins-audit-fixesfrom
audit-issue-13

Conversation

@rflechtner
Copy link
Contributor

@rflechtner rflechtner commented Mar 10, 2025

fixes https://github.com/KILTprotocol/ticket/issues/3808

Disallows manager changes after a pool has been moved to refunding or destroying.

Checklist:

  • I have verified that the code works
    • No panics! (checked arithmetic ops, no indexing array[3] use get(3), ...)
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)
    • Either PR or Ticket to update the Docs
    • Link the PR/Ticket here

@rflechtner rflechtner requested review from abdulmth and ntn-x2 March 10, 2025 14:41
@rflechtner rflechtner merged commit 8287f9d into bonded-coins-audit-fixes Mar 10, 2025
13 of 15 checks passed
@rflechtner rflechtner deleted the audit-issue-13 branch March 10, 2025 16:36
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