Downgrade ethers.js to 5.6.1 in ens, gnosis, euler, perpetual-pools and uniswap external tests

This commit is contained in:
Kamil Śliwak 2022-03-28 17:56:30 +02:00
parent c4909e99c1
commit 34c06c27a5
5 changed files with 20 additions and 0 deletions

View File

@ -65,6 +65,10 @@ function ens_test
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")" force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")"
yarn install yarn install
# With ethers.js 5.6.2 many tests for revert messages fail.
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
yarn add ethers@5.6.1
replace_version_pragmas replace_version_pragmas
neutralize_packaged_contracts neutralize_packaged_contracts

View File

@ -68,6 +68,10 @@ function euler_test
force_hardhat_unlimited_contract_size "$config_file" force_hardhat_unlimited_contract_size "$config_file"
npm install npm install
# With ethers.js 5.6.2 many tests for revert messages fail.
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
npm install ethers@5.6.1
replace_version_pragmas replace_version_pragmas
neutralize_packaged_contracts neutralize_packaged_contracts

View File

@ -81,6 +81,10 @@ function gnosis_safe_test
npm install npm install
npm install hardhat-gas-reporter npm install hardhat-gas-reporter
# With ethers.js 5.6.2 many tests for revert messages fail.
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
npm install ethers@5.6.1
replace_version_pragmas replace_version_pragmas
[[ $BINARY_TYPE == solcjs ]] && force_solc_modules "${DIR}/solc/dist" [[ $BINARY_TYPE == solcjs ]] && force_solc_modules "${DIR}/solc/dist"

View File

@ -71,6 +71,10 @@ function perpetual_pools_test
# TODO: Remove when https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/528 is fixed. # TODO: Remove when https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/528 is fixed.
yarn add hardhat@2.8.4 yarn add hardhat@2.8.4
# With ethers.js 5.6.2 many tests for revert messages fail.
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
yarn add ethers@5.6.1
replace_version_pragmas replace_version_pragmas
for preset in $SELECTED_PRESETS; do for preset in $SELECTED_PRESETS; do

View File

@ -77,6 +77,10 @@ function uniswap_test
yarn install yarn install
yarn add hardhat-gas-reporter yarn add hardhat-gas-reporter
# With ethers.js 5.6.2 many tests for revert messages fail.
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
yarn add ethers@5.6.1
replace_version_pragmas replace_version_pragmas
for preset in $SELECTED_PRESETS; do for preset in $SELECTED_PRESETS; do