Pin v4-core dependecy to fix failing exteral pooltogether test

This commit is contained in:
Nikola Matic 2022-12-15 12:53:57 +01:00
parent 37e935f025
commit ab78f69bf5

View File

@ -69,6 +69,9 @@ function pool_together_test
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")" "$config_var" force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")" "$config_var"
yarn install yarn install
# TODO: Remove this when https://github.com/pooltogether/v4-core/issues/287 gets fixed.
npm install @pooltogether/pooltogether-rng-contracts@1.4.0
# These come with already compiled artifacts. We want them recompiled with latest compiler. # These come with already compiled artifacts. We want them recompiled with latest compiler.
rm -r node_modules/@pooltogether/yield-source-interface/artifacts/ rm -r node_modules/@pooltogether/yield-source-interface/artifacts/
rm -r node_modules/@pooltogether/uniform-random-number/artifacts/ rm -r node_modules/@pooltogether/uniform-random-number/artifacts/