From 14481f9ead506ef04da6d5657a9915f4307666cc Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 24 Jan 2018 00:01:14 +0000 Subject: [PATCH] Turn wabt off by default --- index.js | 1 + tests/codeRunner.js | 2 +- tests/runVmTests.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 6fcb5eb2..aab04764 100644 --- a/index.js +++ b/index.js @@ -85,6 +85,7 @@ exports.evm2wasm = function (evmCode, opts = { 'stackTrace': false, 'useAsyncAPI': 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..3a694fc9 100644 --- a/tests/codeRunner.js +++ b/tests/codeRunner.js @@ -63,7 +63,7 @@ tape('testing transcompiler', async t => { buffer: compiled } = await evm2wasm.evm2wasm(code, { inlineOps: true, - wabt: true + wabt: false }) const startingState = await state.get(accountAddress) diff --git a/tests/runVmTests.js b/tests/runVmTests.js index 34b7dcb8..26e1c687 100644 --- a/tests/runVmTests.js +++ b/tests/runVmTests.js @@ -53,7 +53,7 @@ async function runner (testName, testData, t) { useAsyncAPI: true, testName: testName, inlineOps: true, - wabt: true + wabt: false }) const environment = setupEnviroment(testData)