-
Notifications
You must be signed in to change notification settings - Fork 404
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
Better genesis import #198
Conversation
2c00d4a
to
16f6a28
Compare
I just merged #195 Can you rebase this and I will gladly review |
16f6a28
to
882d817
Compare
Rebased. Sorry, too many PRs... |
Codecov Report
@@ Coverage Diff @@
## master #198 +/- ##
==========================================
- Coverage 71.96% 71.88% -0.08%
==========================================
Files 27 27
Lines 2572 2604 +32
==========================================
+ Hits 1851 1872 +21
- Misses 611 622 +11
Partials 110 110
Continue to review full report at Codecov.
|
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.
Looks good. Please merge
continue | ||
} | ||
bytecode, err := keeper.GetByteCode(ctx, i) | ||
keeper.IterateCodeInfos(ctx, func(codeID uint64, info types.CodeInfo) bool { |
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.
Callbacks are good. We will need them to scale up
Remove install-debug target from Makefile.
🚧 After #195
This started as #144 when I realized that the work was done already.
Some additional improvements:
IterateCodeInfos
to keeperListContractInfo
toIterateContractInfo
And some additional genesis import assertions.
Reviewer note:
Only the last 2 commits. The others are from #195
For admin use:
WIP
,R4R
,docs
, etc)