safe-wallet-web
safe-wallet-web copied to clipboard
When sending tokens, the address dropdown suggests current safe for recipient address.
Bug description
When choosing an address for a send transaction, it is possible to select the address of the safe you are currently using from the address book. [1]
An error will only be shown when the transaction is signed or executed, and is not specific (unprocessible entity
) [2]
Environment
- Browser: Chrome
- Wallet: MetaMask
- Chain: sepolia
Steps to reproduce
- Make sure the safe you're using is added and in your address book.
- Go to
new transaction
->send tokens
- After clicking on the address input, it will show suggestions from your address book, including your current safe.
- If you try to execute the tx it will show an error [2]
Expected result
I would suggest showing an input error for the address input field when the selected address is the same as the current safe.
Obtained result
An error only shows upon execution and it is not specific.
Screenshots
[1]
[2]
Is this the error when trying to execute the transaction via relay? Afaik we don't allow transactions from a safe to itself in our relayer config. Otherwise it usually works sending funds to myself and imo shouldn't be an issue.