Skip to content

Commit

Permalink
fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Nov 21, 2024
1 parent e72f8d6 commit 03fe323
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions x/service/keeper/msg_update_params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,12 @@ func TestMsgUpdateParams(t *testing.T) {
expectedErrMsg: "missing add_service_fee",
},
{
desc: "invalid: send default params",
desc: "valid: send default params",
input: &servicetypes.MsgUpdateParams{
Authority: k.GetAuthority(),
Params: params,
},
shouldError: true,
expectedErrMsg: "target_num_relays must be greater than 0: got 0",
shouldError: false,
},
{
desc: "valid: send minimal params",
Expand Down
2 changes: 1 addition & 1 deletion x/service/keeper/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestParams_ValidateTargetNumRelays(t *testing.T) {
},
{
desc: "valid TargetNumRelays",
targetNumRelays: 999,
targetNumRelays: uint64(999),
},
}

Expand Down

0 comments on commit 03fe323

Please sign in to comment.