Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Migrate token module from line/link (#416)
* docs: Update CHANGELOG * feat: define x/token protos * feat: add token module * feat: implement x/token query client * feat: implement x/token tx client * feat: implement x/token keeper * feat: implement class keeper * feat: implement x/token query server * feat: implement x/token msg server * feat: implement x/token genesis * fix: add an option to supply querier * feat: add grants and approvers to genesis * fix: run test and fix bugs * feat: implement x/token genesis * fix: fix query and msg servers * fix: support mintable flag * test: add x/token cli tests * test: add x/token genesis unit test * test: add x/token keeper genesis unit test * test: add x/token keeper test * test: add tests for the msg validation * test: add tests for x/token query cli * test: add tests for x/token tx cli * feat: add queries related to grant and approve * fix: lint * feat: emit events * Revert "docs: Update CHANGELOG" This reverts commit 94f7b53. * docs: update CHANGELOG * fix: fix bugs on the unit tests * fix: fix the typo on a variable * fix: resolve the conflict on swagger gen * fix: lint * build: undo fix * fix: provide more fees and make explicit conformation * Update x/token/class/keeper/id.go * Update x/token/class/keys.go * Update x/token/client/cli/query.go * Update x/token/client/testutil/suite.go * Update x/token/client/testutil/suite.go * Update x/token/client/testutil/suite.go * Update x/token/expected_keepers.go * Update x/token/msgs.go * fix: lint * test: increase code coverage of genesis * test: increase code coverage of x/token keeper * fix: check id conflict on issue * test: fix tests on handler * fix: do not allow grant on already granted address * fix: validate class ids * test: add more tests on x/token servers * docs: add comments on x/token proto * test: add test on class id check * fix: validate class ids in genesis * refactor: move validation logics into a separate file * test: add test cases into x/token keeper query * test: fix test prep * test: fix test prep * test: add more test cases * test: fix x/token client tests * Update CHANGELOG.md * test: fix the race * Update x/token/class/validation.go
- Loading branch information