Skip to content

Commit

Permalink
fix proto format
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy04 committed Dec 12, 2023
1 parent 111fd9d commit bdb4892
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export interface LiquidateSubaccountsRequest {
/** The list of subaccount ids with negative total net collateral. */

negativeTncSubaccountIds: SubaccountId[];
/** A map of perpetual id to subaccount open position info. */

subaccountOpenPositionInfo?: {
[key: number]: SubaccountOpenPositionInfo;
};
Expand All @@ -48,8 +46,6 @@ export interface LiquidateSubaccountsRequestSDKType {
/** The list of subaccount ids with negative total net collateral. */

negative_tnc_subaccount_ids: SubaccountIdSDKType[];
/** A map of perpetual id to subaccount open position info. */

subaccount_open_position_info?: {
[key: number]: SubaccountOpenPositionInfoSDKType;
};
Expand Down
6 changes: 3 additions & 3 deletions proto/dydxprotocol/daemons/liquidation/liquidation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ message LiquidateSubaccountsRequest {
// The list of subaccount ids with negative total net collateral.
repeated dydxprotocol.subaccounts.SubaccountId negative_tnc_subaccount_ids = 3
[ (gogoproto.nullable) = false ];

// A map of perpetual id to subaccount open position info.
map<uint32, dydxprotocol.clob.SubaccountOpenPositionInfo> subaccount_open_position_info = 4
[ (gogoproto.nullable) = false ];
map<uint32, dydxprotocol.clob.SubaccountOpenPositionInfo>
subaccount_open_position_info = 4 [ (gogoproto.nullable) = false ];
}

// LiquidateSubaccountsResponse is a response message for
Expand Down

0 comments on commit bdb4892

Please sign in to comment.