From 23dd7113965b9881a974c4cb71f4619d2dcfe478 Mon Sep 17 00:00:00 2001 From: Amir Bandeali Date: Tue, 20 Aug 2019 16:16:06 -0700 Subject: [PATCH] Update ZeroExTransaction tests --- contracts/exchange-libs/test/lib_zero_ex_transaction.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contracts/exchange-libs/test/lib_zero_ex_transaction.ts b/contracts/exchange-libs/test/lib_zero_ex_transaction.ts index f49100188c..bd398223b3 100644 --- a/contracts/exchange-libs/test/lib_zero_ex_transaction.ts +++ b/contracts/exchange-libs/test/lib_zero_ex_transaction.ts @@ -18,6 +18,7 @@ blockchainTests('LibZeroExTransaction', env => { const EMPTY_TRANSACTION: ZeroExTransaction = { salt: constants.ZERO_AMOUNT, expirationTimeSeconds: constants.ZERO_AMOUNT, + gasPrice: constants.ZERO_AMOUNT, signerAddress: constants.NULL_ADDRESS, data: constants.NULL_BYTES, domain: { @@ -66,6 +67,7 @@ blockchainTests('LibZeroExTransaction', env => { await testGetTypedDataHashAsync({ salt: randomUint256(), expirationTimeSeconds: randomUint256(), + gasPrice: randomUint256(), signerAddress: randomAddress(), data: randomAssetData(), domain: { @@ -121,6 +123,7 @@ blockchainTests('LibZeroExTransaction', env => { await testGetStructHashAsync({ salt: randomUint256(), expirationTimeSeconds: randomUint256(), + gasPrice: randomUint256(), signerAddress: randomAddress(), data: randomAssetData(), // The domain is not used in this test, so it's okay if it is left empty.