diff --git a/packages/types-known/src/spec/kusama.ts b/packages/types-known/src/spec/kusama.ts index 071cc5ef3f..57539ce409 100644 --- a/packages/types-known/src/spec/kusama.ts +++ b/packages/types-known/src/spec/kusama.ts @@ -8,7 +8,7 @@ import type { OverrideVersionedType } from '@polkadot/types/types'; const sharedTypes = { AccountInfo: 'AccountInfoWithDualRefCount', Address: 'MultiAddress', - Keys: 'SessionKeys6', + Keys: 'SessionKeys7B', LookupSource: 'MultiAddress', ProxyType: { _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy'] @@ -165,7 +165,14 @@ const versioned: OverrideVersionedType[] = [ } }, { - minmax: [2028, undefined], + minmax: [2028, 2029], + types: { + ...sharedTypes, + Keys: 'SessionKeys6' + } + }, + { + minmax: [2030, undefined], types: { ...sharedTypes } diff --git a/packages/types-known/src/spec/polkadot.ts b/packages/types-known/src/spec/polkadot.ts index b6ea8683f7..7da1c03a03 100644 --- a/packages/types-known/src/spec/polkadot.ts +++ b/packages/types-known/src/spec/polkadot.ts @@ -8,7 +8,7 @@ import type { OverrideVersionedType } from '@polkadot/types/types'; const sharedTypes = { AccountInfo: 'AccountInfoWithDualRefCount', Address: 'MultiAddress', - Keys: 'SessionKeys6', + Keys: 'SessionKeys7B', LookupSource: 'MultiAddress', ProxyType: { _enum: { @@ -69,7 +69,14 @@ const versioned: OverrideVersionedType[] = [ } }, { - minmax: [28, undefined], + minmax: [28, 29], + types: { + ...sharedTypes, + Keys: 'SessionKeys6' + } + }, + { + minmax: [30, undefined], types: { ...sharedTypes } diff --git a/packages/types-known/src/spec/westend.ts b/packages/types-known/src/spec/westend.ts index d1a069231f..793a970fba 100644 --- a/packages/types-known/src/spec/westend.ts +++ b/packages/types-known/src/spec/westend.ts @@ -8,7 +8,7 @@ import type { OverrideVersionedType } from '@polkadot/types/types'; const sharedTypes = { AccountInfo: 'AccountInfoWithDualRefCount', Address: 'MultiAddress', - Keys: 'SessionKeys6', + Keys: 'SessionKeys7B', LookupSource: 'MultiAddress', ProxyType: { _enum: ['Any', 'NonTransfer', 'Staking', 'SudoBalances', 'IdentityJudgement', 'CancelProxy' @@ -73,7 +73,15 @@ const versioned: OverrideVersionedType[] = [ } }, { - minmax: [48, undefined], + // 50 was supposed to have Beefy, didn't + minmax: [48, 50], + types: { + ...sharedTypes, + Keys: 'SessionKeys6' + } + }, + { + minmax: [51, undefined], types: { ...sharedTypes } diff --git a/packages/types-known/src/upgrades/westend.ts b/packages/types-known/src/upgrades/westend.ts index 04cddc7398..04d46003bb 100644 --- a/packages/types-known/src/upgrades/westend.ts +++ b/packages/types-known/src/upgrades/westend.ts @@ -8,7 +8,8 @@ const upgrades: ChainUpgradesRaw = [ [879238, 25], [889472, 26], [902937, 27], [932751, 28], [991142, 29], [1030162, 31], [1119657, 32], [1199282, 33], [1342534, 34], [1392263, 35], [1431703, 36], [1433369, 37], [1490972, 41], [2087397, 43], [2316688, 44], - [2549864, 45], [3925782, 46], [3925843, 47], [4207800, 48], [4627944, 49] + [2549864, 45], [3925782, 46], [3925843, 47], [4207800, 48], [4627944, 49], + [5124076, 50] ]; export default upgrades;