Skip to content

Commit ca699f9

Browse files
bump hardhat version
1 parent 49c2e55 commit ca699f9

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

test/externalTests/gp2.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ function gp2_test
6666
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")" "$config_var"
6767
force_hardhat_unlimited_contract_size "$config_file" "$config_var"
6868
yarn
69-
# We require to install hardhat 2.20.0 due to support for evm version cancun, otherwise we get the following error:
70-
# Invalid value {"blockGasLimit":12500000,"hardfork":"cancun","allowUnlimitedContractSize":true} for HardhatConfig.networks.hardhat - Expected a value of type HardhatNetworkConfig.
71-
# See: https://github.com/NomicFoundation/hardhat/issues/4176
72-
69+
yarn add hardhat
7370

7471
# Ignore bench directory which fails to compile with current hardhat and ethers versions.
7572
# bench/trace/gas.ts:123:19 - error TS2339: Property 'equals' does not exist on type 'Uint8Array'.

test/externalTests/pool-together.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ function pool_together_test
6666
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"
6767
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")" "$config_var"
6868
yarn install
69-
# Hardhat 2.20.0 is the last version that works. Newer versions throw this error:
70-
# Unexpected config HardhatConfig.networks.hardhat.initialBaseFeePerGas found - This field is only valid for networks with EIP-1559. Try a newer hardfork or remove it.
71-
69+
yarn add hardhat
7270

7371
# These come with already compiled artifacts. We want them recompiled with latest compiler.
7472
rm -r node_modules/@pooltogether/yield-source-interface/artifacts/

test/externalTests/uniswap.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ function uniswap_test
9090
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
9191
pnpm install [email protected]
9292

93-
# We set hardhat version to 2.20.0 since version 2.21.0 has issues with solidity-coverage plugin
94-
# that often causes out-of-memory errors.
95-
# See hardhat note about the issue here: https://github.com/NomicFoundation/hardhat/releases/tag/[email protected]
96-
pnpm install [email protected]
93+
pnpm install hardhat
9794

9895
replace_version_pragmas
9996

test/externalTests/zeppelin.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@ function zeppelin_test
105105
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"
106106
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")"
107107
npm install
108-
# We require to install hardhat 2.20.0 due to support for evm version cancun, otherwise we get the following error:
109-
# Invalid value {"blockGasLimit":10000000,"allowUnlimitedContractSize":true,"hardfork":"cancun"} for HardhatConfig.networks.hardhat - Expected a value of type HardhatNetworkConfig.
110-
# See: https://github.com/NomicFoundation/hardhat/issues/4176
111-
npm install [email protected]
108+
npm install hardhat
112109

113110
replace_version_pragmas
114111
for preset in $SELECTED_PRESETS; do

0 commit comments

Comments
 (0)