Refactor transaction tests to iclude more combinations and to cover all revert cases

This commit is contained in:
Amir Bandeali 2019-04-25 09:37:56 -07:00
parent ac9247195b
commit 41444e7ede
2 changed files with 678 additions and 374 deletions

File diff suppressed because it is too large Load Diff

View File

@ -47,10 +47,10 @@ export const exchangeDataEncoder = {
true,
);
} else if (fnName === ExchangeFunctionName.SetOrderValidatorApproval) {
// data = exchangeInstance.setOrderValidatorApproval.getABIEncodedTransactionData(
// constants.NULL_ADDRESS,
// true,
// );
data = exchangeInstance.setOrderValidatorApproval.getABIEncodedTransactionData(
constants.NULL_ADDRESS,
true,
);
} else {
throw new Error(`Error: ${fnName} not a supported function`);
}