Skip to content

Automatic gas calculation doesn't work with generate_only #3423

Closed

Description

Summary of Bug

If I try to generate a tx to be signed outside gaia and want to set gas = auto I get an error: Key anonymous not found.

Replicate:

POST /bank/accounts/cosmos1am86ggjvxyesmgr9famzau5k7u8h43hnkyaet3/transfers
Body:

{"amount":[{"denom":"photino","amount":"10"}],"base_req":{"sequence":"7","name":"anonymous","from":"cosmos1am86ggjvxyesmgr9famzau5k7u8h43hnkyaet3","account_number":"0","chain_id":"local-testnet","gas":"auto","generate_only":true}}

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions