aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bytecodecompare
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-31 20:39:32 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-11-13 21:54:01 +0800
commit28d98d61ef5484a3c7e8edc75f99d02b6a8ff2ed (patch)
tree147c9e20f0214a5e330c5455ff801734af18043c /scripts/bytecodecompare
parentb6c32577523914332ce780928941e197e68eaa00 (diff)
downloaddexon-solidity-28d98d61ef5484a3c7e8edc75f99d02b6a8ff2ed.tar.gz
dexon-solidity-28d98d61ef5484a3c7e8edc75f99d02b6a8ff2ed.tar.zst
dexon-solidity-28d98d61ef5484a3c7e8edc75f99d02b6a8ff2ed.zip
Use latest solcjs and replace compileStandard by compile.
Diffstat (limited to 'scripts/bytecodecompare')
-rwxr-xr-xscripts/bytecodecompare/storebytecode.sh3
1 files changed, 2 insertions, 1 deletions
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 <<EOF
#!/usr/bin/env node
var process = require('process')