mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disable more external tests failing due to Hardhat heuristics
This commit is contained in:
parent
54c5b3de68
commit
3f4d9cb035
@ -61,6 +61,11 @@ function euler_test
|
||||
setup_solc "$DIR" "$BINARY_TYPE" "$BINARY_PATH"
|
||||
download_project "$repo" "$ref_type" "$ref" "$DIR"
|
||||
|
||||
# Disable tests that won't pass on the ir presets due to Hardhat heuristics. Note that this also disables
|
||||
# them for other presets but that's fine - we want same code run for benchmarks to be comparable.
|
||||
# TODO: Remove this when https://github.com/NomicFoundation/hardhat/issues/2453 gets fixed.
|
||||
sed -i "/expectError: 'JUNK_UPGRADE_TEST_FAILURE'/d" test/moduleUpgrade.js
|
||||
|
||||
neutralize_package_lock
|
||||
neutralize_package_json_hooks
|
||||
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"
|
||||
|
@ -59,6 +59,12 @@ function perpetual_pools_test
|
||||
setup_solc "$DIR" "$BINARY_TYPE" "$BINARY_PATH"
|
||||
download_project "$repo" "$ref_type" "$ref" "$DIR"
|
||||
|
||||
# Disable tests that won't pass on the ir presets due to Hardhat heuristics. Note that this also disables
|
||||
# them for other presets but that's fine - we want same code run for benchmarks to be comparable.
|
||||
# TODO: Remove this when Hardhat adjusts heuristics for IR (https://github.com/nomiclabs/hardhat/issues/2115).
|
||||
sed -i 's|\(it\)\(("Should not allow commits that are too large"\)|\1.skip\2|g' test/PoolCommitter/commit.spec.ts
|
||||
sed -i 's|\(it\)\(("Should not allow for too many commitments (that bring amount over a user'\''s balance)"\)|\1.skip\2|g' test/PoolCommitter/commit.spec.ts
|
||||
|
||||
neutralize_package_lock
|
||||
neutralize_package_json_hooks
|
||||
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user