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

Remove old compatibility patch to soljson.js. #12236

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

ekpyron
Copy link
Member

@ekpyron ekpyron commented Nov 4, 2021

Fixes #12235

@ekpyron ekpyron requested a review from axic November 4, 2021 10:45
Copy link
Member

@axic axic left a comment

Choose a reason for hiding this comment

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

Looks good to me, but should get more approvals.

@@ -31,6 +31,10 @@ Bugfixes:
* Yul IR Generator: Do not output empty switches/if-bodies for empty contracts.


Build System:
* Remove obsolete compatibility workaround for emscripten builds.
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure we need this...

Copy link
Member Author

@ekpyron ekpyron Nov 4, 2021

Choose a reason for hiding this comment

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

Yeah, I was wondering whether to add it... but if unexpectedly anyone tries to use soljson.js without solc-js and expects this hack, maybe nice to at least have some mention of it...

@ekpyron ekpyron merged commit df6f930 into develop Nov 4, 2021
@ekpyron ekpyron deleted the removeEmscriptenWorkaround branch November 4, 2021 14:31
@cameel
Copy link
Member

cameel commented Nov 4, 2021

The hack is no longer needed due to ethereum/solc-js#470, right?

Might be worth making an announcement about this. Some tools and frameworks may be still using old solc-js because it generally works and they download the binaries on their own. That was the case with Truffle until very recently. See trufflesuite/truffle#4134. They've been on 0.6.0 and even now they're only on 0.6.9 which is just barely enough to avoid this problem.

I see that Waffle is still on 0.6.3 so we should give them a heads up - might be a good idea to submit an issue in their repo.

@cameel
Copy link
Member

cameel commented Nov 4, 2021

We discussed it on the chat and started wondering what versions are used in general. Here's the list I compiled. Reposting it here so that it's easier to find and reference later:

  • Truffle - 0.6.9
  • Waffle - 0.6.3
  • Hardhat - 0.7.3
  • vscode-solidity: 0.8.6
  • Brownie: uses native binaries
  • dapp-tools: uses native binaries
  • pocketh: 0.5.8
  • ethers.js: 0.7.1
  • embark: 0.6.1
  • saddle: does not seem to have a specific dependency in package.json
  • crytic: written in Python, probably uses native binaries.

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.

Remove emscripten workarounds.
4 participants