Update contracts/test-utils to use new Order structure and domain schema.

This commit is contained in:
Lawrence Forman
2019-04-01 13:25:31 -04:00
committed by Amir Bandeali
parent 4aae7348d1
commit 259b463b73
4 changed files with 24 additions and 35 deletions

View File

@@ -26,8 +26,10 @@ export class TransactionFactory {
salt,
signerAddress,
data,
verifyingContractAddress: this._exchangeAddress,
chainId: this._chainId,
domain: {
verifyingContractAddress: this._exchangeAddress,
chainId: this._chainId,
},
};
const transactionHashBuffer = transactionHashUtils.getTransactionHashBuffer(transaction);