Adjust solc-js installation to match the new release process #12624
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #12583.
This should fix breakage in
t_ems_compile_ext_colonyandb_bytecode_emsthat came up now that we merged argotorg/solc-js#596.Our publishing process changed so that now the content of
dist/is the actual package. SI adjusted the bytecode compare script so that it now installs from the tarball and gets whatever structure we actually package. This will make it work no matter whether the published content is at the root, indist/or anywhere else.npm run build:tarballincludes the command to download the release binary. Perhaps we should change it so that downloading the binary is a separate step. For now I switched to the solution with hard-codingdist/subdir.dist/. Using the tarball would complicate them too much IMO. This will unfortunately break once we change the structure of solc-js again but the adjustment will be simple.dist/subdir.prepare-report.jsnow requires this).