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"];