-
Notifications
You must be signed in to change notification settings - Fork 690
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
Sync up with SDK's latest changes #24
Conversation
Codecov Report
@@ Coverage Diff @@
## rigel/refactor-update #24 +/- ##
========================================================
Coverage ? 56.34%
========================================================
Files ? 4
Lines ? 197
Branches ? 0
========================================================
Hits ? 111
Misses ? 83
Partials ? 3 |
@@ -317,7 +317,7 @@ func InitializeTestLCD(t *testing.T, nValidators int, initAddrs []sdk.AccAddress | |||
stakingDataBz = cdc.MustMarshalJSON(stakingData) | |||
genesisState[staking.ModuleName] = stakingDataBz | |||
|
|||
genaccountsData := genaccounts.NewGenesisState(accs) | |||
genaccountsData := genaccounts.GenesisState(accs) |
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.
This name comes from the SDK so we can't do much here. But sounds like genaccounts.GenesisState is in fact returning a set of accounts, the name of the function is misleading.
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.
ACK, I left a comment but can't be fixed from here
Continuing from #22
docs/
)clog add [section] [stanza] [message]
Files changed
in the github PR explorerFor Admin Use: