mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Workaround gp2 and prb-math external tests
This commit is contained in:
parent
1250ee778d
commit
af74ab69c9
@ -69,6 +69,14 @@ function gp2_test
|
||||
force_hardhat_unlimited_contract_size "$config_file" "$config_var"
|
||||
yarn
|
||||
|
||||
# Workaround for error caused by the last release of hardhat-waffle@2.0.6 that bumps ethereum-waffle
|
||||
# to version 4.0.10 and breaks gp2 build with the following error:
|
||||
#
|
||||
# Cannot find module 'ethereum-waffle/dist/cjs/src/deployContract'
|
||||
#
|
||||
# See: https://github.com/NomicFoundation/hardhat-waffle/commit/83ee9cb36ee59d0bedacbbd00043f030af104ad0
|
||||
yarn add '@nomiclabs/hardhat-waffle@2.0.5'
|
||||
|
||||
# Some dependencies come with pre-built artifacts. We want to build from scratch.
|
||||
rm -r node_modules/@gnosis.pm/safe-contracts/build/
|
||||
|
||||
|
@ -96,6 +96,14 @@ function prb_math_test
|
||||
yarn install --no-lock-file
|
||||
yarn add hardhat-gas-reporter
|
||||
|
||||
# Workaround for error caused by the last release of hardhat-waffle@2.0.6 that bumps ethereum-waffle
|
||||
# to version 4.0.10 and breaks prb-math build with the following error:
|
||||
#
|
||||
# Cannot find module 'ethereum-waffle/dist/cjs/src/deployContract'
|
||||
#
|
||||
# See: https://github.com/NomicFoundation/hardhat-waffle/commit/83ee9cb36ee59d0bedacbbd00043f030af104ad0
|
||||
yarn add '@nomiclabs/hardhat-waffle@2.0.5'
|
||||
|
||||
replace_version_pragmas
|
||||
|
||||
for preset in $SELECTED_PRESETS; do
|
||||
|
Loading…
Reference in New Issue
Block a user