Update Polkadot session keys (#1287)
This commit is contained in:
@@ -11,8 +11,10 @@ export default {
|
||||
// impl_opaque_keys! {
|
||||
// pub struct SessionKeys {
|
||||
// Here we revert to tuples to keep the interfaces "opaque", as per the use
|
||||
SessionKeysSubstrate: '(AccountId, AccountId, AccountId)', // Grandpa, Babe, ImOnline
|
||||
SessionKeysPolkadot: '(AccountId, AccountId, AccountId)',
|
||||
// For substrate: Grandpa, Babe, ImOnline
|
||||
SessionKeysSubstrate: '(AccountId, AccountId, AccountId)',
|
||||
// For polkadot: Grandpa, Babe, ImOnline, Parachains
|
||||
SessionKeysPolkadot: '(AccountId, AccountId, AccountId, AccountId)',
|
||||
Keys: 'SessionKeysSubstrate'
|
||||
}
|
||||
};
|
||||
|
||||
@@ -11,8 +11,8 @@ export type Keys = SessionKeysSubstrate;
|
||||
/** u32 */
|
||||
export type SessionIndex = u32;
|
||||
|
||||
/** [AccountId, AccountId, AccountId] & Codec */
|
||||
export type SessionKeysPolkadot = [AccountId, AccountId, AccountId] & Codec;
|
||||
/** [AccountId, AccountId, AccountId, AccountId] & Codec */
|
||||
export type SessionKeysPolkadot = [AccountId, AccountId, AccountId, AccountId] & Codec;
|
||||
|
||||
/** [AccountId, AccountId, AccountId] & Codec */
|
||||
export type SessionKeysSubstrate = [AccountId, AccountId, AccountId] & Codec;
|
||||
|
||||
Reference in New Issue
Block a user