diff --git a/contracts/asset-proxy/test/global_hooks.ts b/contracts/asset-proxy/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/asset-proxy/test/global_hooks.ts +++ b/contracts/asset-proxy/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/coordinator/test/global_hooks.ts b/contracts/coordinator/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/coordinator/test/global_hooks.ts +++ b/contracts/coordinator/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/erc1155/test/global_hooks.ts b/contracts/erc1155/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/erc1155/test/global_hooks.ts +++ b/contracts/erc1155/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/erc20/test/global_hooks.ts b/contracts/erc20/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/erc20/test/global_hooks.ts +++ b/contracts/erc20/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/erc721/test/global_hooks.ts b/contracts/erc721/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/erc721/test/global_hooks.ts +++ b/contracts/erc721/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/exchange-forwarder/test/global_hooks.ts b/contracts/exchange-forwarder/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/exchange-forwarder/test/global_hooks.ts +++ b/contracts/exchange-forwarder/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/exchange-libs/test/global_hooks.ts b/contracts/exchange-libs/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/exchange-libs/test/global_hooks.ts +++ b/contracts/exchange-libs/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/exchange/test/global_hooks.ts b/contracts/exchange/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/exchange/test/global_hooks.ts +++ b/contracts/exchange/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/extensions/test/global_hooks.ts b/contracts/extensions/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/extensions/test/global_hooks.ts +++ b/contracts/extensions/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/contracts/multisig/test/global_hooks.ts b/contracts/multisig/test/global_hooks.ts index 68eb4f8d5f..12b942e07a 100644 --- a/contracts/multisig/test/global_hooks.ts +++ b/contracts/multisig/test/global_hooks.ts @@ -1,9 +1,9 @@ -import { env, EnvVars } from '@0x/dev-utils'; - import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { env, EnvVars } from '@0x/dev-utils'; +import { providerUtils } from '@0x/utils'; -before('start web3 provider engine', () => { - provider.start(); +before('start web3 provider', () => { + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { diff --git a/contracts/utils/test/global_hooks.ts b/contracts/utils/test/global_hooks.ts index f8ace376a5..2ca47d433b 100644 --- a/contracts/utils/test/global_hooks.ts +++ b/contracts/utils/test/global_hooks.ts @@ -1,8 +1,10 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; + before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) { diff --git a/packages/metacoin/test/global_hooks.ts b/packages/metacoin/test/global_hooks.ts index f8ace376a5..4a54432a1c 100644 --- a/packages/metacoin/test/global_hooks.ts +++ b/packages/metacoin/test/global_hooks.ts @@ -1,8 +1,9 @@ import { env, EnvVars } from '@0x/dev-utils'; import { coverage, profiler, provider } from '@0x/contracts-test-utils'; +import { providerUtils } from '@0x/utils'; before('start web3 provider', () => { - provider.start(); + providerUtils.startProviderEngine(provider); }); after('generate coverage report', async () => { if (env.parseBoolean(EnvVars.SolidityCoverage)) {