From fdb1304c83621de59c1447a4b44554bdc24b5f17 Mon Sep 17 00:00:00 2001 From: DonDuala Date: Wed, 28 Aug 2024 14:22:18 -0400 Subject: [PATCH] Update test fcts --- client/ts/tests/batchUpdate.ts | 4 ++-- client/ts/tests/placeOrder.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/ts/tests/batchUpdate.ts b/client/ts/tests/batchUpdate.ts index 898c80f07..839d3f8a9 100644 --- a/client/ts/tests/batchUpdate.ts +++ b/client/ts/tests/batchUpdate.ts @@ -57,7 +57,7 @@ async function batchUpdate( connection: Connection, payerKeypair: Keypair, marketAddress: PublicKey, - baseAtoms: number, + numBaseTokens: number, price: number, isBid: boolean, orderType: OrderType, @@ -74,7 +74,7 @@ async function batchUpdate( const placeOrderIx = client.batchUpdateIx( [ { - baseAtoms, + numBaseTokens, price, isBid, lastValidSlot: lastValidSlot, diff --git a/client/ts/tests/placeOrder.ts b/client/ts/tests/placeOrder.ts index 67f7dd9bf..7e3266904 100644 --- a/client/ts/tests/placeOrder.ts +++ b/client/ts/tests/placeOrder.ts @@ -67,7 +67,7 @@ export async function placeOrder( connection: Connection, payerKeypair: Keypair, marketAddress: PublicKey, - baseAtoms: number, + numBaseTokens: number, price: number, isBid: boolean, orderType: OrderType, @@ -82,7 +82,7 @@ export async function placeOrder( ); const placeOrderIx = client.placeOrderIx({ - baseAtoms, + numBaseTokens, price, isBid, lastValidSlot: lastValidSlot,