Add and dedupe EthereumAddress (#4118)
* Add and dedupe EthereumAddress * Override for Polkadot claims
This commit is contained in:
@@ -36,6 +36,8 @@ const PATHS_PRIMITIVE = splitNamespace([
|
||||
'sp_core::crypto::AccountId32',
|
||||
'sp_runtime::generic::era::Era',
|
||||
'sp_runtime::multiaddress::MultiAddress',
|
||||
// ethereum overrides
|
||||
'polkadot_runtime_common::claims::EthereumAddress',
|
||||
// shorten some well-known types
|
||||
'primitive_types::*',
|
||||
'sp_arithmetic::per_things::*',
|
||||
|
||||
@@ -9,7 +9,6 @@ import type { Definitions } from '../../types';
|
||||
export default {
|
||||
rpc: {},
|
||||
types: {
|
||||
EthereumAddress: 'H160',
|
||||
StatementKind: {
|
||||
_enum: ['Regular', 'Saft']
|
||||
}
|
||||
|
||||
@@ -89,6 +89,7 @@ const types: DefinitionsTypes = {
|
||||
...V1,
|
||||
...V2,
|
||||
EthereumAccountId: 'GenericEthereumAccountId',
|
||||
EthereumAddress: 'GenericEthereumAccountId',
|
||||
EthereumLookupSource: 'GenericEthereumLookupSource',
|
||||
EthereumSignature: '[u8; 65]',
|
||||
EthAccessListItem: {
|
||||
|
||||
Reference in New Issue
Block a user