Merge pull request #7768 from ethereum/dao-test-fix

Fix DAO test after recent solc-js updates
This commit is contained in:
Alex Beregszaszi 2019-11-21 14:37:38 +00:00 committed by GitHub
commit ed5bd1b761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ tape('Deterministic Compilation', function (t) {
input[file] = { content: fs.readFileSync(testdir + file, 'utf8') }; input[file] = { content: fs.readFileSync(testdir + file, 'utf8') };
} }
for (i = 0; i < 10; i++) { for (i = 0; i < 10; i++) {
var output = JSON.parse(solc.compileStandardWrapper(JSON.stringify({ var output = JSON.parse(solc.compile(JSON.stringify({
language: 'Solidity', language: 'Solidity',
settings: { settings: {
optimizer: { optimizer: {