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

Upgrade 'solc_version' to 0.8.20 and set 'evm_version' to shanghai #16

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

trevorgjohnson
Copy link
Contributor

Context

After forking this template project, running forge install, and then finally testing, I was met a EvmError: NotActivated error. Once I did a little bit of digging, I found this comment foundry-rs/foundry#4988 (comment). After Including the following changes to the foundry.toml, the tests ran perfectly for me. I would like to make the same changes to this template because anyone should be able get the sample tests up and running immediately after forking

AC

  • Changes solc_version to 0.8.20 (latest solc version)
  • Adds evm_version and sets it to shanghai (where PUSH0 was introduced)

Additional Notes and Context

NotActivated Error
image

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