Skip to content

Commit

Permalink
feat(tests): add tests for message server
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Jun 7, 2024
1 parent 2195b9e commit d8713ef
Show file tree
Hide file tree
Showing 2 changed files with 500 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/operators/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ func (k msgServer) RegisterOperator(goCtx context.Context, msg *types.MsgRegiste
),
})

return &types.MsgRegisterOperatorResponse{}, nil
return &types.MsgRegisterOperatorResponse{
NewOperatorID: operatorID,
}, nil

}

Expand Down
Loading

0 comments on commit d8713ef

Please sign in to comment.