Skip to content

Silei/gov: IRISHUB-316:CurrentUpgradeProposalIdParameter refactor#246

Merged
wukongcheng merged 5 commits intoirisnet:feature/govfrom
wukongcheng:silei/gov
Sep 18, 2018
Merged

Silei/gov: IRISHUB-316:CurrentUpgradeProposalIdParameter refactor#246
wukongcheng merged 5 commits intoirisnet:feature/govfrom
wukongcheng:silei/gov

Conversation

@wukongcheng
Copy link
Contributor

No description provided.

)

const (
DefaultCodespace sdk.CodespaceType = 5
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the DefaultCodespace isn‘t 5. 5 stands for gov. You should use another number.

CodeInvalidMinDepositDenom sdk.CodeType = 101
CodeInvalidMinDepositAmount sdk.CodeType = 102
CodeInvalidDepositPeriod sdk.CodeType = 103
CodeInvalidCurrentUpgradeProposalID sdk.CodeType = 103
Copy link
Contributor

Choose a reason for hiding this comment

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

The codeType of CodeInvalidDepositPeriod and CodeInvalidDepositPeriod is same ? I think they should be different.

return true
}

func (param *CurrentUpgradeProposalIdParam) ToJson() string {
Copy link
Contributor

Choose a reason for hiding this comment

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

ToJson and Update is the Govparameter interface.

@wukongcheng wukongcheng merged commit 4dcff8e into irisnet:feature/gov Sep 18, 2018
wangjiulian pushed a commit that referenced this pull request Nov 7, 2024
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