Skip to content

Add backwards compatibility to the generated soljson.js for solc-js <0.5.14 #7917

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

Merged
merged 2 commits into from
Dec 9, 2019

Conversation

axic
Copy link
Member

@axic axic commented Dec 7, 2019

Fixes #7927.

@axic
Copy link
Member Author

axic commented Dec 9, 2019

Was wondering why the tests didn't fail, then realised there's also test/solcjsTests.sh where the branch has to be changed.

@@ -94,6 +94,9 @@ make -j 4

cd ..
mkdir -p upload
# Patch soljson.js to provide backwards-compatibility with older emscripten versions
echo ";/* backwards compatibility */ Module['Runtime'] = Module;" >> $BUILD_DIR/libsolc/soljson.js
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was originally added in #5831 for 0.5.3, so we need to keep it til 0.6.0.

@axic axic force-pushed the solc-backwards-compat branch from 3a998da to b4a260d Compare December 9, 2019 13:18
@axic axic marked this pull request as ready for review December 9, 2019 13:28
@chriseth chriseth merged commit e075b10 into develop Dec 9, 2019
@chriseth chriseth deleted the solc-backwards-compat branch December 9, 2019 13:41
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

Successfully merging this pull request may close these issues.

Export Pointer_Stringify in solc-js
2 participants