From 7153cb4158a0d58c1ec74bef30c0683512ea8f3f Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 4 Feb 2021 17:05:56 +0100 Subject: [PATCH] Extend ProxyType with CancelProxy (#3147) --- packages/types-known/src/spec/kusama.ts | 2 +- packages/types-known/src/spec/polkadot.ts | 3 +-- packages/types-known/src/spec/westend.ts | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/types-known/src/spec/kusama.ts b/packages/types-known/src/spec/kusama.ts index e8b3d4c0f5..01d36243f4 100644 --- a/packages/types-known/src/spec/kusama.ts +++ b/packages/types-known/src/spec/kusama.ts @@ -11,7 +11,7 @@ const sharedTypes = { Keys: 'SessionKeys6', LookupSource: 'MultiAddress', ProxyType: { - _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement'] + _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy'] }, ValidatorPrefs: 'ValidatorPrefsWithBlocked' }; diff --git a/packages/types-known/src/spec/polkadot.ts b/packages/types-known/src/spec/polkadot.ts index fdbbbe9ad2..b43e0c88ae 100644 --- a/packages/types-known/src/spec/polkadot.ts +++ b/packages/types-known/src/spec/polkadot.ts @@ -11,8 +11,7 @@ const sharedTypes = { Keys: 'SessionKeys6', LookupSource: 'MultiAddress', ProxyType: { - // was: SudoBalances - _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'Unused', 'IdentityJudgement'] + _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'DeprecatedSudoBalances', 'IdentityJudgement', 'CancelProxy'] }, ValidatorPrefs: 'ValidatorPrefsWithBlocked' }; diff --git a/packages/types-known/src/spec/westend.ts b/packages/types-known/src/spec/westend.ts index e9ae76f691..2caa29b226 100644 --- a/packages/types-known/src/spec/westend.ts +++ b/packages/types-known/src/spec/westend.ts @@ -11,8 +11,8 @@ const sharedTypes = { Keys: 'SessionKeys6', LookupSource: 'MultiAddress', ProxyType: { - // was: SudoBalances - _enum: ['Any', 'NonTransfer', 'Staking', 'Unused', 'IdentityJudgement'] + _enum: ['Any', 'NonTransfer', 'Staking', 'SudoBalances', 'IdentityJudgement', 'CancelProxy' + ] }, ValidatorPrefs: 'ValidatorPrefsWithBlocked' };