-
Notifications
You must be signed in to change notification settings - Fork 118
feat: redesign bank precompile for erc20 support #804
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
base: main
Are you sure you want to change the base?
Conversation
Closes: cosmos#505 Supersedes: cosmos#517 Use go-abi to simplify implementation. update erc20 source
| for denom, amount := range m { | ||
| coin := sdk.NewCoin(denom, sdkmath.NewInt(amount)) | ||
| if cb(coin) { | ||
| break | ||
| } | ||
| } |
Check warning
Code scanning / CodeQL
Iteration over map Warning
| for denom, amount := range k.supplies { | ||
| coin := sdk.NewCoin(denom, sdkmath.NewInt(amount)) | ||
| if cb(coin) { | ||
| break | ||
| } | ||
| } |
Check warning
Code scanning / CodeQL
Iteration over map Warning
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #804 +/- ##
==========================================
- Coverage 64.94% 63.52% -1.42%
==========================================
Files 317 322 +5
Lines 21615 23195 +1580
==========================================
+ Hits 14037 14735 +698
- Misses 6351 7186 +835
- Partials 1227 1274 +47
🚀 New features to boost your workflow:
|
Description
Closes: #505
Supersedes: #517
Use go-abi to simplify implementation, see: #789
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
mainbranch