prettier
This commit is contained in:
parent
79eb613b3e
commit
e332b7535c
@ -135,7 +135,10 @@ blockchainTests.resets('Transaction <> protocol fee integration tests', env => {
|
|||||||
});
|
});
|
||||||
it('Alice executeTransaction => Alice batchFillOrders; mixed protocol fees', async () => {
|
it('Alice executeTransaction => Alice batchFillOrders; mixed protocol fees', async () => {
|
||||||
const orders = [order, await maker.signOrderAsync()];
|
const orders = [order, await maker.signOrderAsync()];
|
||||||
const data = exchangeDataEncoder.encodeOrdersToExchangeData(ExchangeFunctionName.BatchFillOrders, orders);
|
const data = exchangeDataEncoder.encodeOrdersToExchangeData(
|
||||||
|
ExchangeFunctionName.BatchFillOrders,
|
||||||
|
orders,
|
||||||
|
);
|
||||||
const batchFillTransaction = await alice.signTransactionAsync({ data });
|
const batchFillTransaction = await alice.signTransactionAsync({ data });
|
||||||
const txReceipt = await deployment.exchange
|
const txReceipt = await deployment.exchange
|
||||||
.executeTransaction(batchFillTransaction, batchFillTransaction.signature)
|
.executeTransaction(batchFillTransaction, batchFillTransaction.signature)
|
||||||
@ -144,7 +147,10 @@ blockchainTests.resets('Transaction <> protocol fee integration tests', env => {
|
|||||||
});
|
});
|
||||||
it('Alice executeTransaction => Bob batchFillOrders; mixed protocol fees', async () => {
|
it('Alice executeTransaction => Bob batchFillOrders; mixed protocol fees', async () => {
|
||||||
const orders = [order, await maker.signOrderAsync()];
|
const orders = [order, await maker.signOrderAsync()];
|
||||||
const data = exchangeDataEncoder.encodeOrdersToExchangeData(ExchangeFunctionName.BatchFillOrders, orders);
|
const data = exchangeDataEncoder.encodeOrdersToExchangeData(
|
||||||
|
ExchangeFunctionName.BatchFillOrders,
|
||||||
|
orders,
|
||||||
|
);
|
||||||
const batchFillTransaction = await bob.signTransactionAsync({ data });
|
const batchFillTransaction = await bob.signTransactionAsync({ data });
|
||||||
const txReceipt = await deployment.exchange
|
const txReceipt = await deployment.exchange
|
||||||
.executeTransaction(batchFillTransaction, batchFillTransaction.signature)
|
.executeTransaction(batchFillTransaction, batchFillTransaction.signature)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user