From 7c3f76f9198b074f6985d07a1d7d41c2e59d1805 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 18 Mar 2019 12:08:45 +0100 Subject: [PATCH] run remix-lib tests with v0.5.4+commit.9549d8ff --- remix-lib/test/txFormat.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/remix-lib/test/txFormat.js b/remix-lib/test/txFormat.js index ad62433317..d75ac5ba5c 100644 --- a/remix-lib/test/txFormat.js +++ b/remix-lib/test/txFormat.js @@ -6,8 +6,17 @@ var util = require('../src/util') var compiler = require('solc') var compilerInput = require('../src/helpers/compilerHelper').compilerInput var executionContext = require('../src/execution/execution-context') +var solidityVersion = 'v0.5.4+commit.9549d8ff' /* tape *********************************************************** */ +tape('load compiler ' + solidityVersion, function (t) { + compiler.loadRemoteVersion(solidityVersion, (error, solcSnapshot) => { + if (error) console.log(error) + console.warn('testing *txFormat* against', solidityVersion) + compiler = solcSnapshot + t.end() + }) +}) var context tape('ContractParameters - (TxFormat.buildData) - format input parameters', function (t) {