diff --git a/lib/core/provider.js b/lib/contracts/provider.js similarity index 99% rename from lib/core/provider.js rename to lib/contracts/provider.js index 7a8d349d..a5225f0e 100644 --- a/lib/core/provider.js +++ b/lib/contracts/provider.js @@ -2,7 +2,7 @@ const ProviderEngine = require('web3-provider-engine'); const RpcSubprovider = require('web3-provider-engine/subproviders/rpc.js'); const bip39 = require("bip39"); const hdkey = require('ethereumjs-wallet/hdkey'); -const fs = require('./fs'); +const fs = require('../core/fs'); class Provider { constructor(options) { diff --git a/lib/core/engine.js b/lib/core/engine.js index 7fcaa20f..5e21fa50 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -10,7 +10,7 @@ const Watch = require('../pipeline/watch.js'); const LibraryManager = require('../versions/library_manager.js'); const Pipeline = require('../pipeline/pipeline.js'); const async = require('async'); -const Provider = require('./provider'); +const Provider = require('../contracts/provider'); class Engine { constructor(options) { diff --git a/test/provider.js b/test/provider.js index 2ceb8e9b..1fc0ebbf 100644 --- a/test/provider.js +++ b/test/provider.js @@ -1,7 +1,7 @@ /*global describe, it, before*/ const assert = require('assert'); const sinon = require('sinon'); -const Provider = require('../lib/core/provider'); +const Provider = require('../lib/contracts/provider'); let TestLogger = require('../lib/tests/test_logger.js'); describe('embark.provider', function () {