From f825c7f187ba836e3f75345fe5094696cb4796f9 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 16 May 2020 13:54:36 +0200 Subject: [PATCH] Fixed128 -> Fixed64 in old versions --- packages/types-known/src/spec/centrifuge-chain.ts | 2 +- packages/types-known/src/spec/kusama.ts | 10 +++++----- packages/types-known/src/spec/polkadot.ts | 8 ++++---- packages/types-known/src/spec/westend.ts | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/types-known/src/spec/centrifuge-chain.ts b/packages/types-known/src/spec/centrifuge-chain.ts index 1926a5d5e9..b229b2eb68 100644 --- a/packages/types-known/src/spec/centrifuge-chain.ts +++ b/packages/types-known/src/spec/centrifuge-chain.ts @@ -11,7 +11,7 @@ const versioned: OverrideVersionedType[] = [ types: { Address: 'AccountId', LookupSource: 'AccountId', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', ReferendumInfo: 'ReferendumInfoTo239', StakingLedger: 'StakingLedgerTo240', Weight: 'u32' diff --git a/packages/types-known/src/spec/kusama.ts b/packages/types-known/src/spec/kusama.ts index 815cd3b483..9ec60e88a4 100644 --- a/packages/types-known/src/spec/kusama.ts +++ b/packages/types-known/src/spec/kusama.ts @@ -15,7 +15,7 @@ const versioned: OverrideVersionedType[] = [ DispatchInfo: 'DispatchInfoTo244', Keys: 'SessionKeys5', LookupSource: 'Address', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', ReferendumInfo: 'ReferendumInfoTo239', SlashingSpans: 'SlashingSpansTo204', StakingLedger: 'StakingLedgerTo223', @@ -31,7 +31,7 @@ const versioned: OverrideVersionedType[] = [ DispatchInfo: 'DispatchInfoTo244', Keys: 'SessionKeys5', LookupSource: 'Address', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', ReferendumInfo: 'ReferendumInfoTo239', SlashingSpans: 'SlashingSpansTo204', StakingLedger: 'StakingLedgerTo223', @@ -48,7 +48,7 @@ const versioned: OverrideVersionedType[] = [ DispatchInfo: 'DispatchInfoTo244', Keys: 'SessionKeys5', LookupSource: 'Address', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', ReferendumInfo: 'ReferendumInfoTo239', StakingLedger: 'StakingLedgerTo223', Votes: 'VotesTo230', @@ -63,7 +63,7 @@ const versioned: OverrideVersionedType[] = [ DispatchInfo: 'DispatchInfoTo244', Keys: 'SessionKeys5', LookupSource: 'AccountId', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', ReferendumInfo: 'ReferendumInfoTo239', StakingLedger: 'StakingLedgerTo240', Weight: 'u32' @@ -76,7 +76,7 @@ const versioned: OverrideVersionedType[] = [ DispatchInfo: 'DispatchInfoTo244', Keys: 'SessionKeys5', LookupSource: 'AccountId', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', StakingLedger: 'StakingLedgerTo240', Weight: 'u32' } diff --git a/packages/types-known/src/spec/polkadot.ts b/packages/types-known/src/spec/polkadot.ts index 6041f69c9e..cf23b429fc 100644 --- a/packages/types-known/src/spec/polkadot.ts +++ b/packages/types-known/src/spec/polkadot.ts @@ -16,7 +16,7 @@ const versioned: OverrideVersionedType[] = [ BalanceLock: 'BalanceLockTo212', Keys: 'SessionKeys5', LookupSource: 'Address', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', StakingLedger: 'StakingLedgerTo223', Votes: 'VotesTo230', Weight: 'u32' @@ -29,7 +29,7 @@ const versioned: OverrideVersionedType[] = [ Address: 'AccountId', Keys: 'SessionKeys5', LookupSource: 'AccountId', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', ReferendumInfo: 'ReferendumInfoTo239', StakingLedger: 'StakingLedgerTo240', Weight: 'u32' @@ -41,7 +41,7 @@ const versioned: OverrideVersionedType[] = [ Address: 'AccountId', Keys: 'SessionKeys5', LookupSource: 'AccountId', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', StakingLedger: 'StakingLedgerTo240', Weight: 'u32' } @@ -52,7 +52,7 @@ const versioned: OverrideVersionedType[] = [ Address: 'AccountId', Keys: 'SessionKeys5', LookupSource: 'AccountId', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', Weight: 'u32' } }, diff --git a/packages/types-known/src/spec/westend.ts b/packages/types-known/src/spec/westend.ts index a4c8160ce1..87fab7db3f 100644 --- a/packages/types-known/src/spec/westend.ts +++ b/packages/types-known/src/spec/westend.ts @@ -11,7 +11,7 @@ const versioned: OverrideVersionedType[] = [ Address: 'AccountId', Keys: 'SessionKeys5', LookupSource: 'AccountId', - Multiplier: 'Fixed128', + Multiplier: 'Fixed64', Weight: 'u32' } },