Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize error messages #1783

Closed
zhangyelong opened this issue Jul 17, 2019 · 1 comment
Closed

Optimize error messages #1783

zhangyelong opened this issue Jul 17, 2019 · 1 comment
Assignees
Labels
API enhancement New feature or improvement

Comments

@zhangyelong
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Many error messages are confusing, almost every one asks what these mean and what they should do with them, e.g.

  • ERROR: {"codespace":"sdk","code":19,"message":"no native fee token, expected native token is iris-atto"}
  • ERROR: {"codespace":"sdk","code":17,"message":"equivalent gas price (1000000000000iris-atto) is less than threshold (6000000000000iris-atto)"}

Describe the solution you'd like

  • ERROR: {"codespace":"sdk","code":19,"message":"fee is required to be specified with iris"}
  • ERROR: {"codespace":"sdk","code":17,"message":"insufficient fee, fee = gasLimit * gasPrice(default 0.000006iris)"}
@zhangyelong zhangyelong added enhancement New feature or improvement API labels Jul 17, 2019
@zhangyelong zhangyelong changed the title Error message optimization Optimize error messages Jul 17, 2019
@chengwenxi chengwenxi assigned SegueII and unassigned haifengxi and zhangyelong Jul 22, 2019
@shilei-wang
Copy link
Contributor

confirm fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

5 participants