browser-solc
browser-solc copied to clipboard
Maximum call stack size on soljson version 0.4.20+
Unable to compile simple contract on browser-solc with soljson version 0.4.20+
Testing on URL: https://s3.amazonaws.com/browser-solc.dappbench.com/index.html
With code:
pragma solidity ^0.4.19;
contract Sample {
function Sample() { }
}
Does not work: soljson-v0.4.20+commit.3155dd80.js soljson-v0.4.20-nightly.2018.2.13+commit.27ef9794.js soljson-v0.4.20-nightly.2018.2.12+commit.954903b5.js
Works: soljson-v0.4.19+commit.c4cbbb05.js soljson-v0.4.20-nightly.2017.11.30+commit.cb16a5d3.js soljson-v0.4.20-nightly.2018.1.4+commit.a0771691.js soljson-v0.4.20-nightly.2018.1.22+commit.e5def2da.js soljson-v0.4.20-nightly.2018.1.26+commit.bbad48bb.js soljson-v0.4.20-nightly.2018.1.29+commit.a668b9de.js
First nightly version that breaks: soljson-v0.4.20-nightly.2018.2.12+commit.954903b5.js
Yikes... What browser are you testing this in?
It was Chrome 65.0.3325.181
Plus one here. Observing the same behavior. Any ideas on what might be causing this?
Good news tho! compiler.compileStandardWrapper(...) does work with all versions. See the solc-js documentation for more info on how to use it.
I get the same error. Any idea about this?