Skip to content

Commit 13d734f

Browse files
Workaround for openzepellin ext test
1 parent 24d534f commit 13d734f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/externalTests/zeppelin.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ function zeppelin_test
101101
# Here only the testToInt(248) and testToInt(256) cases fail so change the loop range to skip them
102102
sed -i "s|range(8, 256, 8)\(.forEach(bits => testToInt(bits));\)|range(8, 240, 8)\1|" test/utils/math/SafeCast.test.js
103103

104+
# TODO: Remove when next hardhat version releases, the fix is already merged: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5663
105+
# Fails with ProviderError: Invalid transaction: GasFloorMoreThanGasLimit
106+
sed -i "177s|+ 2_000n|+ 10_000n|" test/metatx/ERC2771Forwarder.test.js
107+
104108
neutralize_package_json_hooks
105109
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"
106110
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")"

0 commit comments

Comments
 (0)