diff --git a/bin/evm2wasm.js b/bin/evm2wasm.js index 7def0aec..b9664a7d 100755 --- a/bin/evm2wasm.js +++ b/bin/evm2wasm.js @@ -7,9 +7,7 @@ const input = ethUtil.toBuffer(process.argv[2]) evm2wasm.evm2wasm(input, { stackTrace: process.argv[3] === "trace", - tempName: 'temp', inlineOps: true, - wabt: true }).then(function (output) { console.log(output.toString('binary')) }).catch(function (err) { diff --git a/index.js b/index.js index 34bd0683..8ebc5f68 100644 --- a/index.js +++ b/index.js @@ -83,6 +83,7 @@ const callbackFuncs = new Map([ exports.evm2wasm = function (evmCode, opts = { 'stackTrace': false, 'inlineOps': true, + 'wabt': false, 'testName': 'temp' }) { const wast = exports.evm2wast(evmCode, opts) diff --git a/tests/codeRunner.js b/tests/codeRunner.js index 5417457f..f7f4d2c3 100644 --- a/tests/codeRunner.js +++ b/tests/codeRunner.js @@ -62,8 +62,7 @@ tape('testing transcompiler', async t => { const { buffer: compiled } = await evm2wasm.evm2wasm(code, { - inlineOps: true, - wabt: true + inlineOps: true }) const startingState = await state.get(accountAddress) diff --git a/tests/runVmTests.js b/tests/runVmTests.js index 9ee97207..c5ec026d 100644 --- a/tests/runVmTests.js +++ b/tests/runVmTests.js @@ -39,9 +39,7 @@ async function runner (testName, testData, t) { buffer: evm } = await evm2wasm.evm2wasm(code, { stackTrace: argv.trace, - testName: testName, - inlineOps: true, - wabt: true + inlineOps: true }) const rootVertex = new Vertex()