From 060a6d7c55c9aefb70270d0ca5aeed956ea06e39 Mon Sep 17 00:00:00 2001 From: Ev Date: Mon, 20 Aug 2018 21:53:09 -0300 Subject: [PATCH 1/4] Update config.yml --- .github/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/config.yml b/.github/config.yml index a4e27efb0..7701b50c5 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -1,5 +1,4 @@ maintainers: - - alexvandesande - evertonfraga - marcgarreau - philipplgh From f8cf741129b11c8f9741081f841baecacad0f1f0 Mon Sep 17 00:00:00 2001 From: EOS Classic Date: Fri, 14 Sep 2018 01:10:02 +0900 Subject: [PATCH 2/4] Updates to geth 1.8.15 (#4085) * Updates to geth 1.8.14 * Bumping geth version * Bump geth to 1.8.14 * Bumping geth version * Updates to geth 1.8.15 --- clientBinaries.json | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/clientBinaries.json b/clientBinaries.json index edb746dea..f6d2af8f5 100644 --- a/clientBinaries.json +++ b/clientBinaries.json @@ -1,38 +1,38 @@ { "clients": { "Geth": { - "version": "1.8.13", + "version": "1.8.15", "platforms": { "linux": { "x64": { "download": { "url": - "https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.8.13-225171a4.tar.gz", + "https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.8.15-89451f7c.tar.gz", "type": "tar", - "md5": "46005ff31019b35ab7557cb898bc6d97", - "bin": "geth-linux-amd64-1.8.13-225171a4/geth" + "md5": "d4ed3c878a73b94d4c00ec1a2e5c6695", + "bin": "geth-linux-amd64-1.8.15-89451f7c/geth" }, "bin": "geth", "commands": { "sanity": { "args": ["version"], - "output": ["Geth", "1.8.13"] + "output": ["Geth", "1.8.15"] } } }, "ia32": { "download": { "url": - "https://gethstore.blob.core.windows.net/builds/geth-linux-386-1.8.13-225171a4.tar.gz", + "https://gethstore.blob.core.windows.net/builds/geth-linux-386-1.8.15-89451f7c.tar.gz", "type": "tar", - "md5": "cf46f69c354daba3cda7cdb9dc480eef", - "bin": "geth-linux-386-1.8.13-225171a4/geth" + "md5": "7000eb99d0c41446133c5c553fa08beb", + "bin": "geth-linux-386-1.8.15-89451f7c/geth" }, "bin": "geth", "commands": { "sanity": { "args": ["version"], - "output": ["Geth", "1.8.13"] + "output": ["Geth", "1.8.15"] } } } @@ -41,16 +41,16 @@ "x64": { "download": { "url": - "https://gethstore.blob.core.windows.net/builds/geth-darwin-amd64-1.8.13-225171a4.tar.gz", + "https://gethstore.blob.core.windows.net/builds/geth-darwin-amd64-1.8.15-89451f7c.tar.gz", "type": "tar", - "md5": "3f38dc22e02f8d395526489d5fde7a37", - "bin": "geth-darwin-amd64-1.8.13-225171a4/geth" + "md5": "e5d9b42e7fbb5961d46757a04d56a7ae", + "bin": "geth-darwin-amd64-1.8.15-89451f7c/geth" }, "bin": "geth", "commands": { "sanity": { "args": ["version"], - "output": ["Geth", "1.8.13"] + "output": ["Geth", "1.8.15"] } } } @@ -59,32 +59,32 @@ "x64": { "download": { "url": - "https://gethstore.blob.core.windows.net/builds/geth-windows-amd64-1.8.13-225171a4.zip", + "https://gethstore.blob.core.windows.net/builds/geth-windows-amd64-1.8.15-89451f7c.zip", "type": "zip", - "md5": "3417d0b37e1d30c06838304ee7bd7205", - "bin": "geth-windows-amd64-1.8.13-225171a4\\geth.exe" + "md5": "4a5d1e530170238bdd724e92939ab178", + "bin": "geth-windows-amd64-1.8.15-89451f7c\\geth.exe" }, "bin": "geth.exe", "commands": { "sanity": { "args": ["version"], - "output": ["Geth", "1.8.13"] + "output": ["Geth", "1.8.15"] } } }, "ia32": { "download": { "url": - "https://gethstore.blob.core.windows.net/builds/geth-windows-386-1.8.13-225171a4.zip", + "https://gethstore.blob.core.windows.net/builds/geth-windows-386-1.8.15-89451f7c.zip", "type": "zip", - "md5": "00af26bae15230d317f94d89d579abc1", - "bin": "geth-windows-386-1.8.13-225171a4\\geth.exe" + "md5": "94d767bce3cea8579fb4c3864696c1f4", + "bin": "geth-windows-386-1.8.15-89451f7c\\geth.exe" }, "bin": "geth.exe", "commands": { "sanity": { "args": ["version"], - "output": ["Geth", "1.8.13"] + "output": ["Geth", "1.8.15"] } } } @@ -162,4 +162,3 @@ } } } - From 460d53056554631db4ac945edae9978a85e06a01 Mon Sep 17 00:00:00 2001 From: Noel Yoo Date: Tue, 18 Sep 2018 07:57:08 +0900 Subject: [PATCH 3/4] Use Buffer.from instead of new Buffer (#4091) --- customProtocols.js | 2 +- gulpTasks/maintenance.js | 2 +- modules/abi.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/customProtocols.js b/customProtocols.js index 5416a92cf..a7bcb27dc 100644 --- a/customProtocols.js +++ b/customProtocols.js @@ -3,7 +3,7 @@ const { protocol } = require('electron'); protocol.registerHttpProtocol( 'mist', (request, callback) => { - // callback({mimeType: 'text/html', data: new Buffer('
Response
')}); + // callback({mimeType: 'text/html', data: Buffer.from('
Response
')}); console.log( request.url.indexOf('mist://interface') !== -1 diff --git a/gulpTasks/maintenance.js b/gulpTasks/maintenance.js index 136f53024..afddccad0 100644 --- a/gulpTasks/maintenance.js +++ b/gulpTasks/maintenance.js @@ -88,7 +88,7 @@ gulp.task('update-nodes', cb => { geth.platforms[platform][arch].download.url.split('/') ) ) { - const sum = new Buffer( + const sum = Buffer.from( blob.Properties[0]['Content-MD5'][0], 'base64' ); diff --git a/modules/abi.js b/modules/abi.js index ec9bfa984..340583734 100644 --- a/modules/abi.js +++ b/modules/abi.js @@ -24,7 +24,7 @@ ipc.on('backendAction_decodeFunctionSignature', (event, _signature, _data) => { const paramTypes = signature[1].split(','); try { - const paramsResponse = abi.rawDecode(paramTypes, new Buffer(data, 'hex')); + const paramsResponse = abi.rawDecode(paramTypes, Buffer.from(data, 'hex')); const paramsDictArr = []; // Turns addresses into proper hex string From 2b2d04258cd2c133a8c9e74a9442ec3b7dd8ec7b Mon Sep 17 00:00:00 2001 From: Ev Date: Mon, 17 Sep 2018 20:48:44 -0300 Subject: [PATCH 4/4] Using local yarn instance instead (#4093) * Using local yarn instance instead * Improves git submodule command on first run (empty submodules folders) and corresponding docs --- README.md | 1 + appveyor.yml | 2 -- package.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 01bfd914f..2cbc4324b 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ Now you're ready to initialize Mist for development: ```bash $ git clone https://github.com/ethereum/mist.git $ cd mist +$ git submodule update --init --recursive $ yarn ``` diff --git a/appveyor.yml b/appveyor.yml index 4cb15dd64..c9553f8c7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -40,8 +40,6 @@ install: # installs global dependencies - choco install meteor - choco install nsis - # prevents node 10 to be installed, as it's a dependency of yarn - - choco install yarn --ignore-dependencies - refreshenv - ps: refreshenv diff --git a/package.json b/package.json index f23ab73b0..e89cb82e0 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "scripts": { "precommit": "pretty-quick --staged", - "postinstall": "git submodule update --recursive && yarn task pack-wallet && (cd interface && yarn)", + "postinstall": "git submodule update --init --recursive && yarn task pack-wallet && (cd interface && yarn)", "dev:electron": "electron -r babel-register main.js", "dev:meteor": "cd interface && meteor --no-release-check", "dev:tools": "remotedev & (sleep 3 && open http://localhost:8000)",