Skip to content

Commit 5460e50

Browse files
committed
Set hardhat trace tests to evm version cancun
1 parent 6c2d135 commit 5460e50

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ jobs:
290290
# In our case that is something like: solc -> ../../../node_modules/.pnpm/file+..+solc-js.tgz/node_modules/solc
291291
# See: https://pnpm.io/symlinked-node-modules-structure
292292
pnpm install
293+
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
294+
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
295+
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts
293296
pnpm test
294297
295298
hardhat-core-latest-solc:
@@ -311,6 +314,9 @@ jobs:
311314
312315
cd packages/hardhat-core/
313316
pnpm install
317+
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
318+
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
319+
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts
314320
pnpm test
315321
316322
hardhat-sample-project:

0 commit comments

Comments
 (0)