Update gp2 external test script

This commit is contained in:
Rodrigo Q. Saramago 2023-05-05 17:09:58 +02:00
parent a00a2117c5
commit 766db7daa4
No known key found for this signature in database
GPG Key ID: 9B36B2525704A359

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/