Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond committed Feb 3, 2024
1 parent 93c13ea commit ec3606e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions x/perpetual/types/generate_open_event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ func TestGenerateOpenEvent(t *testing.T) {
TradingAsset: "uatom",
LiabilitiesAsset: "uusdc",
CustodyAsset: "uatom",
Collateral: sdk.ZeroInt(),
Liabilities: sdk.ZeroInt(),
BorrowInterestPaidCollateral: sdk.ZeroInt(),
BorrowInterestPaidCustody: sdk.ZeroInt(),
BorrowInterestUnpaidCollateral: sdk.ZeroInt(),
Custody: sdk.ZeroInt(),
TakeProfitLiabilities: sdk.ZeroInt(),
TakeProfitCustody: sdk.ZeroInt(),
Collateral: sdk.OneInt(),
Liabilities: sdk.OneInt(),
BorrowInterestPaidCollateral: sdk.OneInt(),
BorrowInterestPaidCustody: sdk.OneInt(),
BorrowInterestUnpaidCollateral: sdk.OneInt(),
Custody: sdk.OneInt(),
TakeProfitLiabilities: sdk.OneInt(),
TakeProfitCustody: sdk.OneInt(),
Leverage: sdk.NewDec(10),
MtpHealth: sdk.ZeroDec(),
Position: types.Position_LONG,
Id: 1,
AmmPoolId: 1,
ConsolidateLeverage: sdk.NewDec(10),
SumCollateral: sdk.ZeroInt(),
SumCollateral: sdk.OneInt(),
TakeProfitPrice: sdk.NewDec(10),
TakeProfitBorrowRate: sdk.OneDec(),
FundingFeePaidCollateral: sdk.ZeroInt(),
FundingFeePaidCustody: sdk.ZeroInt(),
FundingFeeReceivedCollateral: sdk.ZeroInt(),
FundingFeeReceivedCustody: sdk.ZeroInt(),
FundingFeePaidCollateral: sdk.OneInt(),
FundingFeePaidCustody: sdk.OneInt(),
FundingFeeReceivedCollateral: sdk.OneInt(),
FundingFeeReceivedCustody: sdk.OneInt(),
OpenPrice: sdk.NewDec(10),
}

Expand Down

0 comments on commit ec3606e

Please sign in to comment.