Domain-type validation for fee granter option #1657
Labels
A: bug
Admin: something isn't working
I: configuration
Internal: related to Hermes configuration
I: logic
Internal: related to the relaying logic
O: usability
Objective: cause to improve the user experience (UX) and ease using the product
Milestone
I document the config.toml option in 16fc6a2 but left that segment of the configuration file commented-out. The reason for keeping this option a bit hidden is that it may be a source of misconfiguration. In particular, we don't validate the string in any way, and I suspect it should be a bech32-valid account identifier, but unclear how (if) we can validate that on Hermes side.
Currently, using a random string such as
fee_granter = 'adi'
will yield a very obscure error message (see below). Will open an issue to track this.Error message when using invalid fee granter account
Originally posted by @adizere in #1634 (comment)
The text was updated successfully, but these errors were encountered: