Skip to content

Commit

Permalink
fix ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
tqin7 committed Aug 2, 2024
1 parent addac5b commit 540b75c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions protocol/app/msgs/all_msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ var (
// vault
"/dydxprotocol.vault.MsgDepositToVault": {},
"/dydxprotocol.vault.MsgDepositToVaultResponse": {},
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParams": {},
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParamsResponse": {},
"/dydxprotocol.vault.MsgSetVaultQuotingParams": {},
"/dydxprotocol.vault.MsgSetVaultQuotingParamsResponse": {},
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParams": {},
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParamsResponse": {},

// vest
"/dydxprotocol.vest.MsgSetVestEntry": {},
Expand Down
4 changes: 2 additions & 2 deletions protocol/app/msgs/internal_msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ var (
"/dydxprotocol.stats.MsgUpdateParamsResponse": nil,

// vault
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParams": &vault.MsgUpdateDefaultQuotingParams{},
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParamsResponse": nil,
"/dydxprotocol.vault.MsgSetVaultQuotingParams": &vault.MsgSetVaultQuotingParams{},
"/dydxprotocol.vault.MsgSetVaultQuotingParamsResponse": nil,
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParams": &vault.MsgUpdateDefaultQuotingParams{},
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParamsResponse": nil,

// vest
"/dydxprotocol.vest.MsgSetVestEntry": &vest.MsgSetVestEntry{},
Expand Down
4 changes: 2 additions & 2 deletions protocol/app/msgs/internal_msgs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ func TestInternalMsgSamples_Gov_Key(t *testing.T) {
"/dydxprotocol.stats.MsgUpdateParamsResponse",

// vault
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParams",
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParamsResponse",
"/dydxprotocol.vault.MsgSetVaultQuotingParams",
"/dydxprotocol.vault.MsgSetVaultQuotingParamsResponse",
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParams",
"/dydxprotocol.vault.MsgUpdateDefaultQuotingParamsResponse",

// vest
"/dydxprotocol.vest.MsgDeleteVestEntry",
Expand Down
2 changes: 1 addition & 1 deletion protocol/lib/ante/internal_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ func IsInternalMsg(msg sdk.Msg) bool {
*stats.MsgUpdateParams,

// vault
*vault.MsgUpdateDefaultQuotingParams,
*vault.MsgSetVaultQuotingParams,
*vault.MsgUpdateDefaultQuotingParams,

// vest
*vest.MsgDeleteVestEntry,
Expand Down

0 comments on commit 540b75c

Please sign in to comment.