forked from centrifuge/centrifuge-chain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add freeze & unfreeze extrinsics (centrifuge#1947)
* feat: add FrozenInvestor permission * feat: add freeze + unfreeze extrinsics * chore: update investments logic * tests: fix UTs + add ITs * docs: improve LP * weights: simplify for LP * fix: clippy * refactor: req perm to be set beforehand * chore: apply suggestions from code review * refactor: move some tests * refactor: common runtime permissions * feat: add perm migration * feat-creep: rm nonce > 0 pre-upgrade condition in gateway migration * trigger CI after re-disabling DRAFT * fix: unwanted nesting + fmt
- Loading branch information
Showing
25 changed files
with
1,360 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.