I've implemented unified accounts in a NPoS consensus-based substrate chain, and modified the polkadot-js/apps
accordingly as well. The transactions through metamask go through successfully, but I'm getting this (screenshot attached) error on each extrinsic performed through the polkadot-js/apps
. These are the types that I've added to polkadot-js/apps/packages/apps-config/src/api/typesBundle.ts
:
"types": [
{
"minmax": [
0,
null
],
"types": {
"AccountId": "EthereumAccountId",
"AccountId20": "EthereumAccountId",
"AccountId32": "EthereumAccountId",
"Address": "AccountId",
"LookupSource": "AccountId",
"Lookup0": "AccountId",
"EthereumSignature": {
"r": "H256",
"s": "H256",
"v": "U8"
},
"ExtrinsicSignature": "EthereumSignature"
}
}
]
Address
type should be mapped to theEthereumAccountId
type no?