From 3bfb79df0c4eaf8be71f7261ab48c48c23bca13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Fri, 13 May 2022 18:45:40 +0200 Subject: [PATCH] gnosis: Workaround for getStorageAt() bug in Hardhat 2.9.5 --- test/externalTests/gnosis.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/externalTests/gnosis.sh b/test/externalTests/gnosis.sh index b8553e4eb..4ad66479a 100755 --- a/test/externalTests/gnosis.sh +++ b/test/externalTests/gnosis.sh @@ -85,6 +85,10 @@ function gnosis_safe_test # TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved. npm install ethers@5.6.1 + # Hardhat 2.9.5 introduced a bug with handling padded arguments to getStorageAt(). + # TODO: Remove when https://github.com/NomicFoundation/hardhat/issues/2709 is fixed. + npm install hardhat@2.9.4 + replace_version_pragmas [[ $BINARY_TYPE == solcjs ]] && force_solc_modules "${DIR}/solc/dist"