Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tqin7 committed Aug 28, 2024
1 parent fcf1981 commit 15a0977
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions protocol/app/msgs/unsupported_msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var (

// vault
// MsgUpdateParams is deprecated since v6.x and replaced by MsgUpdateDefaultQuotingParams.
// nolint:staticcheck
"/dydxprotocol.vault.MsgUpdateParams": &vaulttypes.MsgUpdateParams{},
}
)
1 change: 1 addition & 0 deletions protocol/lib/ante/nested_msg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func TestIsDydxMsg_Invalid(t *testing.T) {
appmsgs.NormalMsgsDydxCustom,
appmsgs.InternalMsgSamplesDydxCustom,
map[string]sdk.Msg{
// nolint:staticcheck
"/dydxprotocol.vault.MsgUpdateParams": &vaulttypes.MsgUpdateParams{},
},
)
Expand Down
1 change: 1 addition & 0 deletions protocol/lib/ante/unsupported_msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func IsUnsupportedMsg(msg sdk.Msg) bool {
*gov.MsgCancelProposal,
// ------- dYdX custom modules
// vault
// nolint:staticcheck
*vaulttypes.MsgUpdateParams:
return true
}
Expand Down

0 comments on commit 15a0977

Please sign in to comment.