diff --git a/x/ophost/keeper/common_test.go b/x/ophost/keeper/common_test.go index bdfa0e92..e8396606 100644 --- a/x/ophost/keeper/common_test.go +++ b/x/ophost/keeper/common_test.go @@ -349,7 +349,6 @@ func (h *bridgeHook) BridgeChallengerUpdated( return h.err } - h.metadata = bridgeConfig.Metadata h.challenger = bridgeConfig.Challenger return nil @@ -364,7 +363,6 @@ func (h *bridgeHook) BridgeProposerUpdated( return h.err } - h.metadata = bridgeConfig.Metadata h.proposer = bridgeConfig.Proposer return nil @@ -379,7 +377,6 @@ func (h *bridgeHook) BridgeBatchInfoUpdated( return h.err } - h.metadata = bridgeConfig.Metadata h.batchInfo = bridgeConfig.BatchInfo return nil diff --git a/x/ophost/keeper/msg_server.go b/x/ophost/keeper/msg_server.go index 98af864e..51c2d6fc 100644 --- a/x/ophost/keeper/msg_server.go +++ b/x/ophost/keeper/msg_server.go @@ -500,7 +500,7 @@ func (ms MsgServer) UpdateMetadata(ctx context.Context, req *types.MsgUpdateMeta return nil, err } - // gov or current proposer can update batch info. + // gov or current proposer can update metadata. if ms.authority != req.Authority && config.Proposer != req.Authority { return nil, govtypes.ErrInvalidSigner.Wrapf("invalid authority; expected %s or %s, got %s", ms.authority, config.Proposer, req.Authority) }