Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Jan 13, 2025
1 parent e8a7123 commit edf6dc9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import (

// This function is used to onboard Wormhole Guardians as Validators on Wormchain.
// It creates a 1:1 association between a Guardian addresss and a Wormchain validator address.
// There is also a special case -- when the size of the Guardian set is 1, the Guardian is allowed to "hot-swap" their validator address in the mapping.
// We include the special case to make it easier to shuffle things in testnets and local devnets.
// 1. Guardian signs their validator address -- SIGNATURE=$(guardiand admin sign-wormchain-address <wormhole...>)
// 2. Guardian submits $SIGNATURE to Wormchain via this handler, using their new validator address as the signer of the Wormchain tx.
func (k msgServer) RegisterAccountAsGuardian(goCtx context.Context, msg *types.MsgRegisterAccountAsGuardian) (*types.MsgRegisterAccountAsGuardianResponse, error) {
Expand Down

0 comments on commit edf6dc9

Please sign in to comment.