Skip to content

Commit 2592115

Browse files
fixup! zeppelin ext test workaround
1 parent 20c0707 commit 2592115

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/externalTests/zeppelin.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,21 @@ function zeppelin_test
106106
sed -i "177s|+ 2_000n|+ 10_000n|" test/metatx/ERC2771Forwarder.test.js
107107

108108
cat <<-EOF >> "$config_file"
109-
const { TASK_COMPILE_SOLIDITY_COMPILE } = require("hardhat/builtin-tasks/task-names");
109+
const { TASK_COMPILE_SOLIDITY_COMPILE } = require("hardhat/builtin-tasks/task-names");
110110
111-
task(TASK_COMPILE_SOLIDITY_COMPILE)
112-
.setAction(async (args, hre, runSuper) => {
113-
const result = await runSuper(args);
111+
task(TASK_COMPILE_SOLIDITY_COMPILE)
112+
.setAction(async (args, hre, runSuper) => {
113+
const result = await runSuper(args);
114114
115-
result.output.errors = (result.output.errors || []).filter(err => {
116-
if (err.severity === "warning" && err.message.includes("deprecated")) {
117-
return false; // suppress this warning
118-
}
119-
return true;
120-
});
115+
result.output.errors = (result.output.errors || []).filter(err => {
116+
if (err.severity === "warning" && err.message.includes("deprecated")) {
117+
return false; // suppress this warning
118+
}
119+
return true;
120+
});
121121
122-
return result;
123-
});
122+
return result;
123+
});
124124
125125
EOF
126126

0 commit comments

Comments
 (0)