-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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(WIP) : rotate operator key #15494
Conversation
for _, valAddrStr := range maturedRotatedValAddrs { | ||
valAddr, err := sdk.ValAddressFromBech32(valAddrStr) | ||
if err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
…s-sdk into ap/delegations-by-validator
…s-sdk into ap/rotate_oper_key
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
func (k Keeper) updateValidatorOperatorKey(ctx sdk.Context, validator types.Validator, delAddr sdk.AccAddress, newValAddr, curValAddr sdk.ValAddress) { | ||
validator.OperatorAddress = newValAddr.String() | ||
k.SetValidator(ctx, validator) | ||
k.SetValidatorByConsAddr(ctx, validator) |
Check warning
Code scanning / gosec
Errors unhandled.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
closing this for now but we will reopen it when the team is ready to work on it |
Description
ref: #3863
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change