diff --git a/test/util.js b/test/util.js index 101ee2d..9a42fc7 100644 --- a/test/util.js +++ b/test/util.js @@ -2,7 +2,8 @@ const EventEmitter = require('events') const EthBlockTracker = require('eth-block-tracker') const EthQuery = require('ethjs-query') const { JsonRpcEngine } = require('@metamask/json-rpc-engine') -const { providerAsMiddleware, providerFromEngine } = require('@metamask/eth-json-rpc-middleware') +const { providerAsMiddleware } = require('@metamask/eth-json-rpc-middleware') +const { providerFromEngine } = require('@metamask/eth-json-rpc-provider') const GanacheCore = require('ganache-core') const pify = require('pify') const createFilterMiddleware = require('../index.js')