From 80c18c220103167f8bedf844f875eaf69529fd06 Mon Sep 17 00:00:00 2001 From: Jaco Date: Sun, 9 May 2021 10:27:23 +0300 Subject: [PATCH] Adjust types for node/node-template (#3509) --- packages/types-known/src/spec/node-template.ts | 3 +-- packages/types-known/src/spec/node.ts | 15 ++------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/packages/types-known/src/spec/node-template.ts b/packages/types-known/src/spec/node-template.ts index 5824e80373..1f55f46b10 100644 --- a/packages/types-known/src/spec/node-template.ts +++ b/packages/types-known/src/spec/node-template.ts @@ -9,8 +9,7 @@ const versioned: OverrideVersionedType[] = [ { minmax: [0, undefined], types: { - Address: 'MultiAddress', - LookupSource: 'MultiAddress' + // nothing, API tracks master } } ]; diff --git a/packages/types-known/src/spec/node.ts b/packages/types-known/src/spec/node.ts index a7a936beb6..1f55f46b10 100644 --- a/packages/types-known/src/spec/node.ts +++ b/packages/types-known/src/spec/node.ts @@ -5,22 +5,11 @@ import type { OverrideVersionedType } from '@polkadot/types/types'; -// these are override types for Polkadot const versioned: OverrideVersionedType[] = [ { - minmax: [0, 260], + minmax: [0, undefined], types: { - AccountInfo: 'AccountInfoWithRefCount', - Address: 'LookupSource', - LookupSource: 'IndicesLookupSource' - } - }, - { - minmax: [261, undefined], - types: { - AccountInfo: 'AccountInfoWithDualRefCount', - Address: 'MultiAddress', - LookupSource: 'MultiAddress' + // nothing, API tracks master } } ];