|
|
@ -23,7 +23,7 @@ function UniversalDApp (contracts, options) { |
|
|
|
|
|
|
|
|
|
|
|
this.accounts = {}; |
|
|
|
this.accounts = {}; |
|
|
|
|
|
|
|
|
|
|
|
this.vm = new EthJSVM(null, null, { activatePrecompiles: true }); |
|
|
|
this.vm = new EthJSVM(null, null, { activatePrecompiles: true, enableHomestead: true }); |
|
|
|
|
|
|
|
|
|
|
|
this.addAccount('3cd7232cd6f3fc66a57a6bedc1a8ed6c228fff0a327e169c2bcc5e869ed49511'); |
|
|
|
this.addAccount('3cd7232cd6f3fc66a57a6bedc1a8ed6c228fff0a327e169c2bcc5e869ed49511'); |
|
|
|
this.addAccount('2ac6c190b09897cd8987869cc7b918cfea07ee82038d492abce033c75c1b1d0c'); |
|
|
|
this.addAccount('2ac6c190b09897cd8987869cc7b918cfea07ee82038d492abce033c75c1b1d0c'); |
|
|
@ -649,7 +649,7 @@ UniversalDApp.prototype.runTx = function (data, args, cb) { |
|
|
|
transactions: [], |
|
|
|
transactions: [], |
|
|
|
uncleHeaders: [] |
|
|
|
uncleHeaders: [] |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.vm.runTx({block: block, tx: tx, skipBalance: true, skipNonce: true, enableHomestead: true}, cb); |
|
|
|
this.vm.runTx({block: block, tx: tx, skipBalance: true, skipNonce: true}, cb); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
cb(e, null); |
|
|
|
cb(e, null); |
|
|
|
} |
|
|
|
} |
|
|
|