Pin hardhat version in yield-liquidator tests

This commit is contained in:
Nikola Matic 2022-09-06 11:06:31 +02:00
parent e0b2162bf9
commit 8c4bbf1f4e

View File

@ -66,6 +66,10 @@ function yield_liquidator_test
force_hardhat_unlimited_contract_size "$config_file" "$config_var" force_hardhat_unlimited_contract_size "$config_file" "$config_var"
npm install npm install
# 2.11.0 Hardhat release breaks contract compilation.
# TODO: remove when https://github.com/yieldprotocol/yield-liquidator-v2/issues/34 is addressed.
npm install hardhat@2.10.2
replace_version_pragmas replace_version_pragmas
neutralize_packaged_contracts neutralize_packaged_contracts