Skip to content

Commit

Permalink
Merge pull request #732 from ethereum/fix-hardhat
Browse files Browse the repository at this point in the history
Set hardhat trace tests to evm version cancun
  • Loading branch information
nikola-matic committed Mar 14, 2024
2 parents 6c2d135 + 5460e50 commit 1610d4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Expand Up @@ -290,6 +290,9 @@ jobs:
# In our case that is something like: solc -> ../../../node_modules/.pnpm/file+..+solc-js.tgz/node_modules/solc
# See: https://pnpm.io/symlinked-node-modules-structure
pnpm install
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts
pnpm test
hardhat-core-latest-solc:
Expand All @@ -311,6 +314,9 @@ jobs:
cd packages/hardhat-core/
pnpm install
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts
pnpm test
hardhat-sample-project:
Expand Down

0 comments on commit 1610d4e

Please sign in to comment.