-
Notifications
You must be signed in to change notification settings - Fork 24
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: split commands for withdraw rewards and commission due to eip712 #175
Conversation
@forcodedancing your pull request is missing a changelog! |
@@ -184,7 +184,7 @@ func SimulateMsgWithdrawValidatorCommission(txConfig client.TxConfig, ak types.A | |||
account := ak.GetAccount(ctx, simAccount.Address) | |||
spendable := bk.SpendableCoins(ctx, account.GetAddress()) | |||
|
|||
msg := types.NewMsgWithdrawValidatorCommission(validator.GetOperator()) | |||
msg := types.NewMsgWithdrawValidatorCommission(sdk.AccAddress(validator.GetOperator())) |
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.
Currently, in staking module validator's operator
is using ValAddress
type. Need to change in the following prs.
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.
right, I have found some places in other modules too
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.
Description
This pr migrates the change of:
#108 feat: split commands for withdrawal of rewards and commission
Rationale
Due to the EIP712 requirement, only one message can be executed in an single transaction.
Example
withdraw-rewards
withdraw-commission
Changes
Notable changes: