@@ -36,7 +36,7 @@ function test_fn { npm test; }
36
36
37
37
function gnosis_safe_test
38
38
{
39
- local repo=" https://github.com/gnosis /safe-contracts.git"
39
+ local repo=" https://github.com/safe-global /safe-contracts.git"
40
40
local ref_type=branch
41
41
local ref=main
42
42
local config_file=" hardhat.config.ts"
@@ -73,6 +73,11 @@ function gnosis_safe_test
73
73
# them for other presets but that's fine - we want same code run for benchmarks to be comparable.
74
74
# TODO: Remove this when Hardhat adjusts heuristics for IR (https://github.com/nomiclabs/hardhat/issues/2115).
75
75
sed -i " s|\(it\)\(('should not allow to call setup on singleton'\)|\1.skip\2|g" test/core/GnosisSafe.Setup.spec.ts
76
+ # TODO: Remove this when https://github.com/NomicFoundation/hardhat/issues/2453 gets fixed.
77
+ sed -i ' s|\(it\)\(("changes the expected storage slot without touching the most important ones"\)|\1.skip\2|g' test/libraries/SignMessageLib.spec.ts
78
+ sed -i " s|\(it\)\(('can be used only via DELEGATECALL opcode'\)|\1.skip\2|g" test/libraries/SignMessageLib.spec.ts
79
+ sed -i ' s|\(describe\)\(("Upgrade from Safe 1.1.1"\)|\1.skip\2|g' test/migration/UpgradeFromSafe111.spec.ts
80
+ sed -i ' s|\(describe\)\(("Upgrade from Safe 1.2.0"\)|\1.skip\2|g' test/migration/UpgradeFromSafe120.spec.ts
76
81
77
82
neutralize_package_lock
78
83
neutralize_package_json_hooks
@@ -85,6 +90,10 @@ function gnosis_safe_test
85
90
# TODO: Remove when https://github.com/ethers-io/ethers.js/discussions/2849 is resolved.
86
91
87
92
93
+ # Note that [email protected] depends on @ethersproject/[email protected] while the dependency on hardhat-deploy
94
+ # pulls @ethersproject/[email protected] (latest). Force 5.6.0 to avoid errors due to having two copies.
95
+ npm install @ethersproject/
[email protected]
96
+
88
97
# Hardhat 2.9.5 introduced a bug with handling padded arguments to getStorageAt().
89
98
# TODO: Remove when https://github.com/NomicFoundation/hardhat/issues/2709 is fixed.
90
99
0 commit comments