Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add solc as a devDep to compile-solidity-tests #5940

Merged
merged 1 commit into from Mar 1, 2023
Merged

Conversation

cds-amal
Copy link
Member

@cds-amal cds-amal commented Mar 1, 2023

PR description

The compiles w/ local path test referenced a file in a node_modules folder that was already subject to moving due to lerna hoisting behavior. This uncertainty makes the test unreliable!

This PR adds a pinned version of solc as a devDep, ensuring the file will be available for testing purposes using require.resolve.

Note, we will have to update this pinned version as part of the bump solc chore.

Testing instructions

check out the branch and run the compiles w/ local path test in compile-solidity-tests, or verify tests don't fail in CI

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if documentation updates are required.

Breaking changes and new features

  • I have added any needed breaking-change and new-feature labels for the appropriate packages.

The *compiles w/ local path* test referenced a file in a node_modules
folder that was already subject to moving due to lerna hoisting
behavior. This uncertainty makes the test unreliable!

This PR adds a pinned version of solc as a devDep, ensuring the file
will be available for testing purposes using `require.resolve`.
@cds-amal cds-amal merged commit ed07e54 into develop Mar 1, 2023
@cds-amal cds-amal deleted the byo-solc branch March 1, 2023 19:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants