You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/externalTests/perpetual-pools.sh
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,12 @@ function perpetual_pools_test
59
59
setup_solc "$DIR""$BINARY_TYPE""$BINARY_PATH"
60
60
download_project "$repo""$ref_type""$ref""$DIR"
61
61
62
+
# Disable tests that won't pass on the ir presets due to Hardhat heuristics. Note that this also disables
63
+
# them for other presets but that's fine - we want same code run for benchmarks to be comparable.
64
+
# TODO: Remove this when Hardhat adjusts heuristics for IR (https://github.com/nomiclabs/hardhat/issues/2115).
65
+
sed -i 's|\(it\)\(("Should not allow commits that are too large"\)|\1.skip\2|g' test/PoolCommitter/commit.spec.ts
66
+
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
0 commit comments