Skip to content

Escrow Deposit from Non-Owner Account Bad Error Message #386

@chainzero

Description

@chainzero

When tx escrow deposit deployment is attempted from non-owner account and mandatory owner switch is not included an incorrect error message is displayed.

Error message should inform user to include owner switch.

Tested in provider-services version v0.10.0-rc15.

Example:

provider-services tx escrow deposit deployment 1000000uakt --from grantor
Error: rpc error: code = Unknown desc = rpc error: code = Unknown desc = failed to execute message; message index: 0: account not found [cosmos/cosmos-sdk@v0.53.3/baseapp/baseapp.go:1051] with gas used: '37018': unknown request

When owner switch is included the TX is successful:

provider-services tx escrow deposit deployment 1000000uakt --from grantor --owner akash1xsnfjerz9ugzxj96zgd0mejl5c3ph3prn23dvt
{"body":{"messages":[{"@type":"/akash.escrow.v1.MsgAccountDeposit","signer":"akash1zg3hkg9er0emfmvzs90km4y0xjwf7qtdddkvvr","id":{"scope":"deployment","xid":"akash1xsnfjerz9ugzxj96zgd0mejl5c3ph3prn23dvt/232418"},"deposit":{"amount":{"denom":"uakt","amount":"1000000"},"sources":["grant","balance"]}}],"memo":"","timeout_height":"0","unordered":false,"timeout_timestamp":null,"extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[{"denom":"uakt","amount":"2615"}],"gas_limit":"104593","payer":"","granter":""},"tip":null},"signatures":[]}

Metadata

Metadata

Assignees

Labels

repo/nodeAkash node repo issues

Type

No type

Projects

Status

Backlog (not prioritized)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions