|
|
@ -69,7 +69,7 @@ export function Container () { |
|
|
|
const message = ` |
|
|
|
const message = ` |
|
|
|
solidity code: ${content} |
|
|
|
solidity code: ${content} |
|
|
|
error message: ${error} |
|
|
|
error message: ${error} |
|
|
|
context: ${JSON.stringify(report, null, 2)} |
|
|
|
full circom error: ${JSON.stringify(report, null, 2)} |
|
|
|
explain why the error occurred and how to fix it. |
|
|
|
explain why the error occurred and how to fix it. |
|
|
|
` |
|
|
|
` |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
@ -77,7 +77,7 @@ export function Container () { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
const message = ` |
|
|
|
const message = ` |
|
|
|
error message: ${error} |
|
|
|
error message: ${error} |
|
|
|
context: ${JSON.stringify(report, null, 2)} |
|
|
|
full circom error: ${JSON.stringify(report, null, 2)} |
|
|
|
explain why the error occurred and how to fix it. |
|
|
|
explain why the error occurred and how to fix it. |
|
|
|
` |
|
|
|
` |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
@ -87,7 +87,7 @@ export function Container () { |
|
|
|
const error = report.message |
|
|
|
const error = report.message |
|
|
|
const message = ` |
|
|
|
const message = ` |
|
|
|
error message: ${error} |
|
|
|
error message: ${error} |
|
|
|
context: ${JSON.stringify(report, null, 2)} |
|
|
|
full circom error: ${JSON.stringify(report, null, 2)} |
|
|
|
explain why the error occurred and how to fix it. |
|
|
|
explain why the error occurred and how to fix it. |
|
|
|
` |
|
|
|
` |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|