From 2381aebd88d78046560d2a92a3c199653e3059f5 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 9 May 2019 18:02:43 +0200 Subject: [PATCH 1/3] change selenium script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3e3dbab64a..f9bee55bb4 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "onchange": "onchange build/app.js -- npm-run-all lint", "prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build", "remixd": "remixd -s ./contracts --remix-ide http://127.0.0.1:8080", - "selenium": "execr --silent selenium-standalone start", + "selenium": "selenium-standalone start", "selenium-install": "selenium-standalone install", "serve": "npx http-server-legacy .", "serve_debugger": "npx http-server-legacy src/app/debugger/remix-debugger", From e9792d04b72c12ab00a9cf6ca3f923870c67ee2f Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 9 May 2019 18:03:01 +0200 Subject: [PATCH 2/3] fix browser test --- test-browser/tests/compiling.js | 50 ++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/test-browser/tests/compiling.js b/test-browser/tests/compiling.js index f961f7304d..e7c4e94347 100644 --- a/test-browser/tests/compiling.js +++ b/test-browser/tests/compiling.js @@ -122,36 +122,36 @@ function testInputValues (browser, callback) { }`).pause(500).testFunction('inputValue2 - transact (not payable)', '0xd9ec6d8aa73d81755447190f52939ee3084e105b988d445a11e7ac718392ff5a', `[vm]\nfrom:0xca3...a733c\nto:test.inputValue2(uint256[3],bytes8[4]) 0x8c1...401f5\nvalue:0 wei\ndata:0x1b7...00000\nlogs:1\nhash:0xd9e...2ff5a`, - {types: 'uint256[3] _n, bytes8[4] _b8', values: '[1,2,3], ["0x1234", "0x1234","0x1234","0x1234"]'}, + {types: 'uint256[3] _n, bytes8[4] _b8', values: '[1,2,3], ["0x1234000000000000", "0x1234000000000000","0x1234000000000000","0x1234000000000000"]'}, `{ "0": "uint256[3]: _nret 1,2,3", "1": "bytes8[4]: _b8ret 0x1234000000000000,0x1234000000000000,0x1234000000000000,0x1234000000000000" }`, `[ - { - "from": "0x8c1ed7e19abaa9f23c476da86dc1577f1ef401f5", - "topic": "0xd30981760edbf605bda8689e945f622877f230c9a77cbfbd448aa4b7d8ac6e7f", - "event": "event1", - "args": { - "0": "-123", - "1": "123", - "2": { - "indexed": true, - "hash": "0x9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658" - }, - "3": "0x12340000", - "4": "test _ test _ test _ test test _ test test _ test test _ test test _ test test _ test test _ test ", - "_i": "-123", - "_u": "123", - "_str": { - "indexed": true, - "hash": "0x9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658" - }, - "_b": "0x12340000", - "_notIndexed": "test _ test _ test _ test test _ test test _ test test _ test test _ test test _ test test _ test ", - "length": 5 + { + "from": "0x8c1ed7e19abaa9f23c476da86dc1577f1ef401f5", + "topic": "0xd30981760edbf605bda8689e945f622877f230c9a77cbfbd448aa4b7d8ac6e7f", + "event": "event1", + "args": { + "0": "-123", + "1": "123", + "2": { + "hash": "0x9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658", + "type": "Indexed" + }, + "3": "0x12340000", + "4": "test _ test _ test _ test test _ test test _ test test _ test test _ test test _ test test _ test ", + "_i": "-123", + "_u": "123", + "_str": { + "hash": "0x9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658", + "type": "Indexed" + }, + "_b": "0x12340000", + "_notIndexed": "test _ test _ test _ test test _ test test _ test test _ test test _ test test _ test test _ test ", + "length": 5 + } } - } -]`) + ]`) .click('i[class^="clearinstance"]').perform(() => { callback(null, browser) }) }) } From 43856372b78db69e1360aa27824fb262fc57a1fb Mon Sep 17 00:00:00 2001 From: yann300 Date: Sat, 11 May 2019 09:57:45 +0200 Subject: [PATCH 3/3] use latest version --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f9bee55bb4..b119b5597a 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "deep-equal": "^1.0.1", "ethereumjs-util": "^5.1.2", "events": "^3.0.0", + "ethers": "^4.0.27", "execr": "^1.0.1", "exorcist": "^0.4.0", "fast-async": "6.3.1", @@ -43,12 +44,12 @@ "npm-link-local": "^1.1.0", "npm-run-all": "^4.0.2", "onchange": "^3.2.1", - "remix-analyzer": "0.3.5", - "remix-debug": "0.3.5", - "remix-lib": "0.4.5", - "remix-solidity": "0.3.5", + "remix-analyzer": "0.3.6", + "remix-debug": "0.3.6", + "remix-lib": "0.4.6", + "remix-solidity": "0.3.6", "remix-tabs": "^1.0.0", - "remix-tests": "0.1.6", + "remix-tests": "0.1.7", "remixd": "0.1.8-alpha.6", "request": "^2.83.0", "rimraf": "^2.6.1",