diff --git a/remix-lib/package.json b/remix-lib/package.json index 2441417a0a..529ca1f7a0 100644 --- a/remix-lib/package.json +++ b/remix-lib/package.json @@ -18,7 +18,7 @@ "ethereumjs-block": "^1.6.0", "ethereumjs-tx": "^1.3.3", "ethereumjs-util": "^6.1.0", - "ethereumjs-vm": "3.0.0", + "ethereumjs-vm": "4.1.1", "ethers": "^4.0.27", "events": "^3.0.0", "fast-async": "^6.1.2", diff --git a/remix-lib/src/execution/execution-context.js b/remix-lib/src/execution/execution-context.js index 73104af1de..4f89b4628b 100644 --- a/remix-lib/src/execution/execution-context.js +++ b/remix-lib/src/execution/execution-context.js @@ -2,9 +2,9 @@ 'use strict' var Web3 = require('web3') var EventManager = require('../eventManager') -var EthJSVM = require('ethereumjs-vm') +var EthJSVM = require('ethereumjs-vm').default var ethUtil = require('ethereumjs-util') -var StateManager = require('ethereumjs-vm/dist/stateManager') +var StateManager = require('ethereumjs-vm/dist/state/stateManager').default var Web3VMProvider = require('../web3Provider/web3VmProvider') var LogsManager = require('./logsManager.js')