novasamatech / nova-spektr

Nova Spektr — All-in-one Polkadot desktop wallet supporting multisigs, staking, light clients, and more
https://novaspektr.io
Apache License 2.0
37 stars 14 forks source link

Proxy. Account is undefined for transfer with wallet_pv #1889

Open stepanLav opened 1 week ago

stepanLav commented 1 week ago

Description

When user has wallet_pv with proxy and try to create a transfer from the proxy account it will result to account undefined error:

Screenshot 2024-06-25 at 12 22 19

Steps to Reproduce

  1. Add test data from that issue accounts.json proxies.json proxyGroups.json wallets.json

  2. Select Any for 5FxYHL...aRCYk9 wallet

    Screenshot 2024-06-25 at 12 26 15
  3. Try to create transfer

Expected Behavior

Successfully transfer creation

Actual Behavior

Account is undefined

Environment

https://github.com/novasamatech/nova-spektr/commit/b55e253e005e5e3fb867c41dd383d12a6fb8e00e

stepanLav commented 1 week ago

Looks like that happens because proxy worker have created proxies for the root account, but we do not use root account in signing