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

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
@DaniPopes DaniPopes deleted the feat/shanghai branch May 18, 2023 15:10
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.

2 participants