-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve secondary key permissions. (#1679)
* Split secondary key permissions out of KeyRecords. * Fix JS integration tests. * Make sure to remove permissions when removing a secondary key. * Fix remove key permissions. * Use BTreeMap for pallet/extrinsic permissions. * Tried to fix TS integration tests. * Fix js integration tests. * Add integration test for contract permissions. * Check secondary key call permissions in SignedExtension. * Add origin call filter to enforce call permissions. * Fix expected error. * Update MultiSig to support newer permissions. * Fix call whitelist. * Whitelist identity.accept_primary_key * Remove origin_call_filter. * Remove extra clone. * Change back to nextest. * Regen TS types. * cargo fmt * Fix merge issues. * Add storage migrations for split key permissions. --------- Co-authored-by: Adam Dossa <[email protected]>
- Loading branch information
1 parent
d2749e2
commit e568106
Showing
57 changed files
with
7,150 additions
and
7,072 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
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
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.