Skip to content

IRISHUB-256: improve api docs and convert all token to its main unit#278

Merged
wukongcheng merged 6 commits intoirisnet:feature/lcdfrom
HaoyangLiu:feature/lcd-dev-swagger-improve
Sep 20, 2018
Merged

IRISHUB-256: improve api docs and convert all token to its main unit#278
wukongcheng merged 6 commits intoirisnet:feature/lcdfrom
HaoyangLiu:feature/lcd-dev-swagger-improve

Conversation

@HaoyangLiu
Copy link

@HaoyangLiu HaoyangLiu commented Sep 20, 2018

Main changes:

  • Improve API docs on swagger-ui page.
  • Convert all token and share to its main unit in query. For instance, 1000000000000000000iris-atto equals to 1iris
  • Convert token and share to mini unit in sendtx. For instance, 1iris equals to 1000000000000000000iris-atto


validator := types.MustUnmarshalValidator(cdc, addr, res)

validator, err := types.UnmarshalValidator(cdc, addr, res)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not MustUnmarshalValidator?

ubds = append(ubds, ubd)
if err != nil {
return err
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove err check

@wukongcheng wukongcheng merged commit e8248c8 into irisnet:feature/lcd Sep 20, 2018
wangjiulian pushed a commit that referenced this pull request Nov 7, 2024
* add burn perm for farm module

* prevent adding duplicate permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants