-
Notifications
You must be signed in to change notification settings - Fork 241
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
Problem: external token mapping not manageable directly #128
Conversation
Codecov Report
@@ Coverage Diff @@
## main #128 +/- ##
==========================================
+ Coverage 21.51% 25.89% +4.38%
==========================================
Files 27 34 +7
Lines 1729 2367 +638
==========================================
+ Hits 372 613 +241
- Misses 1324 1709 +385
- Partials 33 45 +12
Continue to review full report at Codecov.
|
Closes: crypto-org-chain#119 Solution: - add native message to update token mapping unit tests Update x/cronos/keeper/msg_server.go fix lint fix msgs
db29c6d
to
eb25147
Compare
@@ -49,6 +51,7 @@ Params defines the parameters for the cronos module. | |||
| ----- | ---- | ----- | ----------- | | |||
| `ibc_cro_denom` | [string](#string) | | | | |||
| `ibc_timeout` | [uint64](#uint64) | | | | |||
| `cronos_admin` | [string](#string) | | the admin address who can update token mapping | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want multiple admins?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, we can do that later if wanted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Closes: #119
Solution:
unit tests
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)