Show address with identicon in Tx review when the param type is an address #379
Labels
Priority: 🟠 P1
Added to issues and PRs relating to a high severity bugs.
Type: 🫶 Enhancement
Added to issues and PRs when a change includes improvements or optimizations.
For the review of manual extrinsics, we show the address plainly, without the identicon or a name, e.g
There's currently a hack to show it nicely only for
balances.transfer
alike andproxy.addProxy
alike hereMultix/packages/ui/src/components/CallInfo.tsx
Lines 35 to 36 in 8711fb0
We should enhance this and check the type of params generically, and show a
<AccountDisplay/>
which will show the name if any/identity and the identicon.I didn't do the research to know exactly what types are linked to such fields
AccountId
, or maybe itAccountIdLookupOf
orMultiAddress
?Although this should be checked on Polkadot/Kusama/Rococo first, please check on other networks such as Hydra or Phala. The types may be different because these things evolve.
The text was updated successfully, but these errors were encountered: