From 8402013e9774a466d886e427c18d8b2ba2d9057b Mon Sep 17 00:00:00 2001 From: Jaco Date: Sat, 6 Nov 2021 08:12:12 +0100 Subject: [PATCH] Add account::AccountId20 mapping (#4175) Replaces https://github.com/polkadot-js/api/pull/4117 Sadly I messed up that one since I moved the PortableRegistry, so despite best-efforts cannot quite revolve the now-conflicts on GitHub itself Will give acknowledgement since it is deserved, just cannot quite get the PR merged as of right now. --- .../types/src/metadata/PortableRegistry/PortableRegistry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts b/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts index d7de32f60e..33b7198999 100644 --- a/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts +++ b/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts @@ -36,7 +36,8 @@ const PATHS_PRIMITIVE = splitNamespace([ 'sp_core::crypto::AccountId32', 'sp_runtime::generic::era::Era', 'sp_runtime::multiaddress::MultiAddress', - // ethereum overrides + // ethereum overrides (Frontier, Moonbeam, Polkadot claims) + 'account::AccountId20', 'polkadot_runtime_common::claims::EthereumAddress', // shorten some well-known types 'primitive_types::*',