Merge pull request #13063 from ethereum/gnosis-euler-ext-test-workarounds

External test workarounds for Gnosis and Euler external test failures
This commit is contained in:
Kamil Śliwak 2022-05-25 21:18:11 +02:00 committed by GitHub
commit ea2754c157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

View File

@ -65,10 +65,6 @@ 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

@ -78,10 +78,6 @@ 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

@ -94,6 +94,10 @@ function gnosis_safe_test
npm install npm install
npm install hardhat-gas-reporter npm install hardhat-gas-reporter
# Typescript compilation fails with typescript >= 4.7:
# Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`
npm install "typescript@<4.7.0"
# With ethers.js 5.6.2 many tests for revert messages fail. # 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. # 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