Skip to content
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

IRISHUB-404:fix the cycle import #216

Merged
merged 2 commits into from
Sep 14, 2018
Merged

IRISHUB-404:fix the cycle import #216

merged 2 commits into from
Sep 14, 2018

Conversation

MrXJC
Copy link
Contributor

@MrXJC MrXJC commented Sep 14, 2018

No description provided.

app/app.go Outdated
@@ -144,6 +143,8 @@ func NewIrisApp(logger log.Logger, db dbm.DB, traceStore io.Writer, baseAppOptio
app.SetFeePreprocessHandler(bam.NewFeePreprocessHandler(app.feeManager))
app.MountStoresIAVL(app.keyMain, app.keyAccount, app.keyIBC, app.keyStake, app.keySlashing, app.keyGov, app.keyFeeCollection, app.keyParams, app.keyIparams, app.keyUpgrade)
app.SetRunMsg(app.runMsgs)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go fmt

app/app.go Outdated
@@ -155,7 +156,8 @@ func NewIrisApp(logger log.Logger, db dbm.DB, traceStore io.Writer, baseAppOptio
}

upgrade.RegisterModuleList(app.Router())

govparams.DepositProcedureParameter.SetReadWriter(app.paramsKeeper.Setter())
parameter.RegisterGovParamMapping(&govparams.DepositProcedureParameter)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create another function in app.go to handle all the params setup & register

@wukongcheng wukongcheng merged commit 2bc580b into irisnet:feature/gov Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants