Merge pull request #14190 from ethereum/fix-gp2

Fix gp2 external test script
This commit is contained in:
Nikola Matić 2023-05-05 22:18:26 +02:00 committed by GitHub
commit 102f18b2b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,16 +69,6 @@ function gp2_test
force_hardhat_unlimited_contract_size "$config_file" "$config_var"
yarn
# New hardhat release breaks GP2 tests, and since GP2 repository has been archived, we are pinning hardhat
# to the previous stable version. See https://github.com/ethereum/solidity/pull/13485
yarn add hardhat@2.10.2
# hardhat-tenderly@1.2.0 and upwards break the build, hence we are pinning the version to the last stable one.
# See https://github.com/cowprotocol/contracts/issues/32
yarn add @tenderly/hardhat-tenderly@1.1.6
# Add missing sinon type definitions
yarn add @types/sinon
# Some dependencies come with pre-built artifacts. We want to build from scratch.
rm -r node_modules/@gnosis.pm/safe-contracts/build/