Merge pull request #13020 from ethereum/gnosis-ext-test-get-storage-at-hardhat-bug-workaround

Workaround for `getStorageAt()` bug in Hardhat 2.9.5 for gnosis external test
This commit is contained in:
Daniel Kirchner 2022-05-13 19:47:40 +02:00 committed by GitHub
commit a3bd01d9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,10 @@ function gnosis_safe_test
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved. # TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
npm install ethers@5.6.1 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 replace_version_pragmas
[[ $BINARY_TYPE == solcjs ]] && force_solc_modules "${DIR}/solc/dist" [[ $BINARY_TYPE == solcjs ]] && force_solc_modules "${DIR}/solc/dist"