From fe021a1c2eea5077743aba4ad9995706ca58e62b Mon Sep 17 00:00:00 2001 From: Anonim Date: Thu, 26 Dec 2024 00:22:36 +0300 Subject: [PATCH] index.js --- barretenberg/acir_tests/sol-test/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barretenberg/acir_tests/sol-test/src/index.js b/barretenberg/acir_tests/sol-test/src/index.js index ca402b06182..296c54c63b4 100644 --- a/barretenberg/acir_tests/sol-test/src/index.js +++ b/barretenberg/acir_tests/sol-test/src/index.js @@ -94,7 +94,7 @@ if (!testingHonk) { } var output = JSON.parse(solc.compile(JSON.stringify(compilationInput))); -if (output.errors.some((e) => e.type == "Error")) { +if (output.errors.some((e) => e.severity == "Error")) { throw new Error(JSON.stringify(output.errors, null, 2)); } const contract = output.contracts["Test.sol"]["Test"];