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

feat(solc): set default EVM version to Shanghai #2414

Merged
merged 9 commits into from May 18, 2023

Conversation

DaniPopes
Copy link
Collaborator

@DaniPopes DaniPopes commented May 10, 2023

Motivation

https://blog.soliditylang.org/2023/05/10/solidity-0.8.20-release-announcement/

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Collaborator

@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.

reasonable.

we also have a new model setting

settings.modelChecker.showProvedSafe

and some AST changes

https://github.com/ethereum/solidity/releases/tag/v0.8.20

perhaps we should wait until svm added 0.8.20

@DaniPopes
Copy link
Collaborator Author

CI partly blocked by SVM 0.8.20 support

@DaniPopes DaniPopes marked this pull request as draft May 10, 2023 23:43
@DaniPopes DaniPopes requested a review from mattsse May 10, 2023 23:43
@@ -41,9 +41,7 @@ fn can_get_versioned_linkrefs() {
.unwrap();

let project = Project::builder().paths(paths).ephemeral().no_artifacts().build().unwrap();

let compiled = project.compile().unwrap();
assert!(!compiled.has_compiler_errors());
Copy link
Collaborator Author

@DaniPopes DaniPopes May 10, 2023

Choose a reason for hiding this comment

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

(I Can't comment on the file)

assert!(!compiled.has_compiler_errors());
->
compiled.assert_success();

for better message (prints self when panicking)

@DaniPopes DaniPopes mentioned this pull request May 13, 2023
3 tasks
Copy link
Collaborator

@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, CI failures look tungesnite related

@DaniPopes
Copy link
Collaborator Author

Yeah will open separately

@DaniPopes DaniPopes merged commit 3e710bc into gakonst:master May 18, 2023
12 of 15 checks passed
@DaniPopes DaniPopes deleted the feat/shanghai branch May 18, 2023 15:10
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.

None yet

2 participants