huff-language / huff-project-template

Foundry Repository Template that supports writing contracts in Huff using the foundry-huff library.
The Unlicense
212 stars 45 forks source link

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

Closed trevorgjohnson closed 1 year ago

trevorgjohnson commented 1 year ago

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 forking

AC

Additional Notes and Context

NotActivated Error image