Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum call stack size on soljson version 0.4.20+ #2

Open
synace opened this issue May 15, 2018 · 5 comments
Open

Maximum call stack size on soljson version 0.4.20+ #2

synace opened this issue May 15, 2018 · 5 comments

Comments

@synace
Copy link

synace commented May 15, 2018

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

@ericxtang
Copy link
Owner

Yikes... What browser are you testing this in?

@synace
Copy link
Author

synace commented May 20, 2018

It was Chrome 65.0.3325.181

@theethernaut
Copy link

Plus one here. Observing the same behavior. Any ideas on what might be causing this?

@theethernaut
Copy link

Good news tho! compiler.compileStandardWrapper(...) does work with all versions. See the solc-js documentation for more info on how to use it.

@zillerium
Copy link

I get the same error. Any idea about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants