From 8c4bbf1f4e753ea2d2cffc7365b300ba9cb75df7 Mon Sep 17 00:00:00 2001 From: Nikola Matic Date: Tue, 6 Sep 2022 11:06:31 +0200 Subject: [PATCH] Pin hardhat version in yield-liquidator tests --- test/externalTests/yield-liquidator.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/externalTests/yield-liquidator.sh b/test/externalTests/yield-liquidator.sh index d2afe2560..a22443311 100755 --- a/test/externalTests/yield-liquidator.sh +++ b/test/externalTests/yield-liquidator.sh @@ -66,6 +66,10 @@ function yield_liquidator_test force_hardhat_unlimited_contract_size "$config_file" "$config_var" 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 neutralize_packaged_contracts