From a04400170ca4d35dbcdc2e3901566e200ff1a483 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 11 Jan 2021 16:36:32 +0100 Subject: [PATCH] Set Rococo Keys to 6 (#3040) --- packages/types-known/src/spec/rococo.ts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/types-known/src/spec/rococo.ts b/packages/types-known/src/spec/rococo.ts index f1cc06bcfa..5e630b3c71 100644 --- a/packages/types-known/src/spec/rococo.ts +++ b/packages/types-known/src/spec/rococo.ts @@ -11,8 +11,8 @@ import type { OverrideVersionedType } from '@polkadot/types/types'; const sharedTypes = { AccountInfo: 'AccountInfoWithRefCount', Address: 'AccountId', - Keys: 'SessionKeys5', - LookupSource: 'AccountId' + LookupSource: 'AccountId', + Keys: 'SessionKeys6' }; const versioned: OverrideVersionedType[] = [ @@ -22,11 +22,19 @@ const versioned: OverrideVersionedType[] = [ ...sharedTypes, CompactAssignments: 'CompactAssignmentsTo257', RefCount: 'RefCountTo259', - RewardDestination: 'RewardDestinationTo257' + RewardDestination: 'RewardDestinationTo257', + Keys: 'SessionKeys5' } }, { - minmax: [10, undefined], + minmax: [10, 12], + types: { + ...sharedTypes, + Keys: 'SessionKeys5' + } + }, + { + minmax: [13, undefined], types: { ...sharedTypes }