Refactor transaction tests to iclude more combinations and to cover all revert cases
This commit is contained in:
parent
ac9247195b
commit
41444e7ede
File diff suppressed because it is too large
Load Diff
@ -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`);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user