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

fix(tests): force install solidity 0.8.19 through svm #5221

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

Evalir
Copy link
Member

@Evalir Evalir commented Jun 26, 2023

Motivation

Part of the issue regarding consistency and flakyness in the CI is due to using random solidity versions. This forces a solidity 0.8.19 install through the CI to default to this version.

Solution

Install SVM and use 0.8.19

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm

Comment on lines 57 to 60
- name: Install Solidity 0.8.19
run: svm install 0.8.19
- name: Use Solidity 0.8.19
run: svm use 0.8.19
Copy link
Member

Choose a reason for hiding this comment

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

can also install 8.20

@Evalir
Copy link
Member Author

Evalir commented Jun 26, 2023

Hmmm is it me or are the svm commands not running? Seems like cargo runs fine, but it's not blocking to install svm (or the output is not getting redirected to the job)

@Evalir Evalir merged commit 3b1129b into master Jun 26, 2023
@Evalir Evalir deleted the evalir/install-svm branch June 26, 2023 20:43
Copy link

@dmrazzy dmrazzy left a comment

Choose a reason for hiding this comment

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

Cool

@grandizzy grandizzy added T-bug Type: bug C-forge Command: forge labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge T-bug Type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants