Commit 06a04253 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Require ethereumjs-vm 1.4.0 to have 'consistent' gas costs

parent 1f726cef
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
}, },
"devDependencies": { "devDependencies": {
"ethereumjs-block": "^1.2.2", "ethereumjs-block": "^1.2.2",
"ethereumjs-vm": "^1.3.0", "ethereumjs-vm": "^1.4.0",
"merkle-patricia-tree": "^2.1.2", "merkle-patricia-tree": "^2.1.2",
"ethereumjs-util": "^4.4.0", "ethereumjs-util": "^4.4.0",
"ethereumjs-tx": "^1.1.1", "ethereumjs-tx": "^1.1.1",
......
...@@ -21,7 +21,7 @@ function UniversalDApp (contracts, options) { ...@@ -21,7 +21,7 @@ function UniversalDApp (contracts, options) {
this.BN = ethJSUtil.BN; this.BN = ethJSUtil.BN;
this.stateTrie = new Trie(); this.stateTrie = new Trie();
this.vm = new EthJSVM(this.stateTrie); this.vm = new EthJSVM(this.stateTrie, null, { activatePrecompiles: true });
this.addAccount('3cd7232cd6f3fc66a57a6bedc1a8ed6c228fff0a327e169c2bcc5e869ed49511') this.addAccount('3cd7232cd6f3fc66a57a6bedc1a8ed6c228fff0a327e169c2bcc5e869ed49511')
this.addAccount('2ac6c190b09897cd8987869cc7b918cfea07ee82038d492abce033c75c1b1d0c') this.addAccount('2ac6c190b09897cd8987869cc7b918cfea07ee82038d492abce033c75c1b1d0c')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment