Expand SessionKeys[n] definitions (#2929)

* Expand SessionKeys[n] definitions

* Update packages/types/src/interfaces/session/definitions.ts
This commit is contained in:
Jaco Greeff
2020-12-08 17:44:35 +01:00
committed by GitHub
parent 11c4239614
commit 92c9ce15d6
@@ -15,7 +15,7 @@ const keyTypes = {
// default to Substrate master defaults, 4 keys (polkadot master, 5 keys)
Keys: 'SessionKeys4',
// shortcuts for 1, 2, 3, 4, 5 & 6 key tuples
// shortcuts for 1-9 key tuples
SessionKeys1: '(AccountId)',
SessionKeys2: '(AccountId, AccountId)',
// older substrate master
@@ -24,7 +24,10 @@ const keyTypes = {
SessionKeys4: '(AccountId, AccountId, AccountId, AccountId)',
// CC3
SessionKeys5: '(AccountId, AccountId, AccountId, AccountId, AccountId)',
SessionKeys6: '(AccountId, AccountId, AccountId, AccountId, AccountId, AccountId)'
SessionKeys6: '(AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId)',
SessionKeys7: '(AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId)',
SessionKeys8: '(AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId)',
SessionKeys9: '(AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId, AccountId)'
};
export default {