Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
fix static tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abandeali1 committed Oct 5, 2019
1 parent ac1063d commit 6be5552
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion contracts/staking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"@0x/dev-utils": "^2.4.0-beta.0",
"@0x/sol-compiler": "^3.2.0-beta.0",
"@0x/tslint-config": "^3.0.1",
"@0x/utils": "^4.5.2",
"@types/lodash": "4.14.104",
"@types/node": "*",
"chai": "^4.0.1",
Expand Down
6 changes: 4 additions & 2 deletions packages/migrations/src/test_contract_configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const networkIdToRpcUrl = {
42: `https://kovan.infura.io/v3/${INFURA_PROJECT_ID}`,
};

// tslint:disable:custom-no-magic-numbers
async function testContractConfigsAsync(provider: SupportedProvider): Promise<void> {
const web3Wrapper = new Web3Wrapper(provider);
const networkId = await web3Wrapper.getNetworkIdAsync();
Expand Down Expand Up @@ -252,12 +253,13 @@ async function testContractConfigsAsync(provider: SupportedProvider): Promise<vo
warnIfMismatch(isAssetProxyOwnerAuthorizedInZrxVault, true, 'AssetProxyOwner not authorized in ZrxVault');
}

async function verifyAssetProxyOwnerConfigsAsync(): Promise<void> {}
// TODO: implement AssetProxyOwner config tests
// async function verifyAssetProxyOwnerConfigsAsync(): Promise<void> {}

await verifyExchangeV2ConfigsAsync();
await verifyExchangeV3ConfigsAsync();
await verifyAssetProxyConfigsAsync();
await verifyStakingConfigsAsync();
await verifyAssetProxyConfigsAsync();
}

(async () => {
Expand Down

0 comments on commit 6be5552

Please sign in to comment.