-
Notifications
You must be signed in to change notification settings - Fork 34
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
feat: Allow asset participation in gov #131
base: main
Are you sure you want to change the base?
feat: Allow asset participation in gov #131
Conversation
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.
Hello @phamminh0811, thanks for submitting the PR! Sorry for the review delay. Overall the PR looks good I left few comments for you to review.
One more comment, regarding the routes for governance are not working, can you double check that please?
allianced tx gov submit-legacy-proposal create-alliance ulunax 0.5 0 0.00005 1s --from=alice
Feel free to review the comments. I'll be subscribed to the PR so I can improve the reviewing times. Thanks again!
return keeper | ||
} | ||
|
||
func (k *Keeper) RegisterKeepers(ak alliancekeeper.Keeper, bk custombankkeeper.Keeper, sk stakingkeeper.Keeper) { |
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.
Seems like the custom keepers are never registered in the app.go. Should be a similar case to the custom bank keeper (https://github.com/terra-money/alliance/blob/main/app/app.go#L431)
package types | ||
|
||
import sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
||
type StakingKeeper interface { | ||
BondDenom(ctx sdk.Context) (res string) | ||
} |
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.
Seems like the keeper interface is not being used because you're using the default CosmosSDK keeper. Should it be deleted?
Closes: #50
What is the purpose of the change