-
Notifications
You must be signed in to change notification settings - Fork 602
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
modify pool-incentives submit proposal cli #2086
Changes from 3 commits
7812daf
887abd8
057967d
1a9ddb7
d8605e1
12064a4
37e4a0c
c53c576
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ func (p *ReplacePoolIncentivesProposal) GetDescription() string { return p.Descr | |
func (p *ReplacePoolIncentivesProposal) ProposalRoute() string { return RouterKey } | ||
|
||
func (p *ReplacePoolIncentivesProposal) ProposalType() string { | ||
return ProposalTypeUpdatePoolIncentives | ||
return ProposalTypeReplacePoolIncentives | ||
} | ||
Comment on lines
47
to
49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ooof, would this be state breaking to backport? (I don't have a sense for where ProposalType gets used) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think they're used in routing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is used in x/gov routing when executing the proposal's handler. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If it's only used for routing, I assume it's not going to be state-breaking to backport? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think If we have a ProposalTypeReplacePoolIncentives submited, this will be state-breaking |
||
|
||
func (p *ReplacePoolIncentivesProposal) ValidateBasic() error { | ||
|
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.
hrmm is it safe to delete this / is there a reason behind deleting this?
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.
It is decided in #1888 that submit proposal cmd should only have gov prefix, so these command will be registered with gov handler instead of tx cmd of incentives module.
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.
Should I add this to state breaking entry or not
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.
imo should go under breaking changes