Cherry pick dydx validation from #2456

This commit is contained in:
Lawrence Forman
2020-01-31 21:02:58 -05:00
parent d89243a0d3
commit 9b3781abf1
38 changed files with 2252 additions and 36 deletions

View File

@@ -34,6 +34,7 @@ blockchainTests.fork.resets('DevUtils mainnet tests', env => {
devUtilsArtifacts,
contractAddresses.exchange,
contractAddresses.chaiBridge,
contractAddresses.dydxBridge,
);
await dai.approve(chai.address, constants.MAX_UINT256).awaitTransactionSuccessAsync({ from: daiHolder });
await chai.join(daiHolder, daiDepositAmount).awaitTransactionSuccessAsync({ from: daiHolder });

View File

@@ -27,6 +27,7 @@ blockchainTests('DevUtils.getOrderHash', env => {
artifacts,
exchange.address,
constants.NULL_ADDRESS,
constants.NULL_ADDRESS,
);
});

View File

@@ -81,6 +81,7 @@ blockchainTests.resets('LibAssetData', env => {
artifacts,
deployment.exchange.address,
constants.NULL_ADDRESS,
constants.NULL_ADDRESS,
);
staticCallTarget = await TestStaticCallTargetContract.deployFrom0xArtifactAsync(

View File

@@ -43,6 +43,7 @@ blockchainTests('LibTransactionDecoder', env => {
artifacts,
exchange.address,
constants.NULL_ADDRESS,
constants.NULL_ADDRESS,
);
});