From 28d98d61ef5484a3c7e8edc75f99d02b6a8ff2ed Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 31 Oct 2018 13:39:32 +0100 Subject: Use latest solcjs and replace compileStandard by compile. --- scripts/bytecodecompare/storebytecode.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/bytecodecompare/storebytecode.sh') diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh index 557e3275..89a669bd 100755 --- a/scripts/bytecodecompare/storebytecode.sh +++ b/scripts/bytecodecompare/storebytecode.sh @@ -40,8 +40,9 @@ TMPDIR=$(mktemp -d) if [[ "$SOLC_EMSCRIPTEN" = "On" ]] then + # npm install solc + git clone --depth 1 https://github.com/ethereum/solc-js.git solc cp "$REPO_ROOT/build/libsolc/soljson.js" . - npm install solc cat > solc < Date: Tue, 6 Nov 2018 15:14:44 +0100 Subject: Fix bytecode tests for solc-js --- scripts/bytecodecompare/storebytecode.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'scripts/bytecodecompare/storebytecode.sh') diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh index 89a669bd..ccf6e60e 100755 --- a/scripts/bytecodecompare/storebytecode.sh +++ b/scripts/bytecodecompare/storebytecode.sh @@ -41,14 +41,15 @@ TMPDIR=$(mktemp -d) if [[ "$SOLC_EMSCRIPTEN" = "On" ]] then # npm install solc - git clone --depth 1 https://github.com/ethereum/solc-js.git solc - cp "$REPO_ROOT/build/libsolc/soljson.js" . + git clone --depth 1 https://github.com/ethereum/solc-js.git solc-js + ( cd solc-js; npm install ) + cp "$REPO_ROOT/build/libsolc/soljson.js" solc-js/ cat > solc <