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 https://github.com/foundry-rs/foundry/issues/4988#issuecomment-1556331314. 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)
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 https://github.com/foundry-rs/foundry/issues/4988#issuecomment-1556331314. 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 forkingAC
solc_version
to0.8.20
(latest solc version)evm_version
and sets it toshanghai
(where PUSH0 was introduced)Additional Notes and Context
NotActivated
Error