Merge pull request #12733 from ethereum/perpetual-pools-fix-race-condition-due-to-hardhat-parallel-compilation

Workaround for a race condition in Perpetual Pools ext test due to parallel compilation on Hardhat 2.9.0
This commit is contained in:
Daniel Kirchner 2022-03-02 17:22:26 +01:00 committed by GitHub
commit b3764ad4ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,11 @@ function perpetual_pools_test
force_hardhat_unlimited_contract_size "$config_file" "$config_var"
yarn install
# The project depends on @openzeppelin/hardhat-upgrades, which is currently not prepared
# for the parallel compilation introduced in Hardhat 2.9.0.
# TODO: Remove when https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/528 is fixed.
yarn add hardhat@2.8.4
replace_version_pragmas
for preset in $SELECTED_PRESETS; do