-
Notifications
You must be signed in to change notification settings - Fork 117
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 ❌ Your project check has failed because the head coverage (63.63%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #804 +/- ##
==========================================
- Coverage 65.17% 63.63% -1.54%
==========================================
Files 317 322 +5
Lines 21600 23141 +1541
==========================================
+ Hits 14078 14726 +648
- Misses 6345 7150 +805
- Partials 1177 1265 +88
🚀 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