Skip to content

feat/photon: prevent node runner to set uatone as only gas fees #68

@albttx

Description

@albttx

When running node on #57 ( feat/photon ), if the RPC is set with uatone as a gas fees, outputs could be weird to understand.

here is an example:

$ atomoned tx bank send my-wallet atone1xxxx 500000000uatone --yes --fees 5000uatone
[...]
raw_log: 'fee denom uatone not allowed: invalid fee token'

$ atomoned tx bank send my-wallet atone1xxxxxx 500000000uatone --yes --fees 5000uphoton
[...]
raw_log: 'insufficient fees; got: 5000uphoton required: 200uatone: insufficient fee'

A warning at start of the node or enforce a default minimum-gas-fees with format 0.001uatone,0.001uphoton would be a good idea i believe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions