From 69e754105d9d2b6f2eaac750ba5d61082cbae924 Mon Sep 17 00:00:00 2001 From: Jaco Date: Thu, 6 Oct 2022 09:43:00 +0300 Subject: [PATCH] Revery 9300 WeightV2 override (#5261) --- packages/types-known/src/spec/kusama.ts | 17 +++++++++-------- packages/types-known/src/spec/polkadot.ts | 17 +++++++++-------- packages/types-known/src/spec/rococo.ts | 17 +++++++++-------- packages/types-known/src/spec/statemint.ts | 17 +++++++++-------- packages/types-known/src/spec/westend.ts | 17 +++++++++-------- 5 files changed, 45 insertions(+), 40 deletions(-) diff --git a/packages/types-known/src/spec/kusama.ts b/packages/types-known/src/spec/kusama.ts index dc16108546..1dad2f63fc 100644 --- a/packages/types-known/src/spec/kusama.ts +++ b/packages/types-known/src/spec/kusama.ts @@ -201,18 +201,19 @@ const versioned: OverrideVersionedType[] = [ }, { // metadata v14 - minmax: [9106, 9299], + minmax: [9106, undefined], types: { Weight: 'WeightV1' } - }, - { - // weight v2 introduction - minmax: [9300, undefined], - types: { - Weight: 'WeightV2' - } } + // , + // { + // // weight v2 introduction + // minmax: [9300, undefined], + // types: { + // Weight: 'WeightV2' + // } + // } ]; export default versioned; diff --git a/packages/types-known/src/spec/polkadot.ts b/packages/types-known/src/spec/polkadot.ts index 4c599a88ec..ed1737beea 100644 --- a/packages/types-known/src/spec/polkadot.ts +++ b/packages/types-known/src/spec/polkadot.ts @@ -75,18 +75,19 @@ const versioned: OverrideVersionedType[] = [ }, { // metadata v14 - minmax: [9110, 9299], + minmax: [9110, undefined], types: { Weight: 'WeightV1' } - }, - { - // weight v2 introduction - minmax: [9300, undefined], - types: { - Weight: 'WeightV2' - } } + // , + // { + // // weight v2 introduction + // minmax: [9300, undefined], + // types: { + // Weight: 'WeightV2' + // } + // } ]; export default versioned; diff --git a/packages/types-known/src/spec/rococo.ts b/packages/types-known/src/spec/rococo.ts index 4410beddaa..e0ed0f8c94 100644 --- a/packages/types-known/src/spec/rococo.ts +++ b/packages/types-known/src/spec/rococo.ts @@ -49,18 +49,19 @@ const versioned: OverrideVersionedType[] = [ }, { // metadata v14 - minmax: [9106, 9299], + minmax: [9106, undefined], types: { Weight: 'WeightV1' } - }, - { - // weight v2 introduction - minmax: [9300, undefined], - types: { - Weight: 'WeightV2' - } } + // , + // { + // // weight v2 introduction + // minmax: [9300, undefined], + // types: { + // Weight: 'WeightV2' + // } + // } ]; export default versioned; diff --git a/packages/types-known/src/spec/statemint.ts b/packages/types-known/src/spec/statemint.ts index d4d999ebce..e10d7e1f32 100644 --- a/packages/types-known/src/spec/statemint.ts +++ b/packages/types-known/src/spec/statemint.ts @@ -41,18 +41,19 @@ const versioned: OverrideVersionedType[] = [ }, { // metadata V14 - minmax: [500, 9299], + minmax: [500, undefined], types: { Weight: 'WeightV1' } - }, - { - // weight v2 introduction - minmax: [9300, undefined], - types: { - Weight: 'WeightV2' - } } + // , + // { + // // weight v2 introduction + // minmax: [9300, undefined], + // types: { + // Weight: 'WeightV2' + // } + // } ]; export default versioned; diff --git a/packages/types-known/src/spec/westend.ts b/packages/types-known/src/spec/westend.ts index 020d60a3fd..8eac1c4a3f 100644 --- a/packages/types-known/src/spec/westend.ts +++ b/packages/types-known/src/spec/westend.ts @@ -92,18 +92,19 @@ const versioned: OverrideVersionedType[] = [ }, { // metadata v14 - minmax: [9106, 9299], + minmax: [9106, undefined], types: { Weight: 'WeightV1' } - }, - { - // weight v2 introduction - minmax: [9300, undefined], - types: { - Weight: 'WeightV2' - } } + // , + // { + // // weight v2 introduction + // minmax: [9300, undefined], + // types: { + // Weight: 'WeightV2' + // } + // } ]; export default versioned;