`execute_circuit` function does not propagate specific error message
benesjan opened this issue · 0 comments
benesjan commented
Aim
I am trying to make aztec-sandbox user friendly.
Expected Behavior
When ACIRCallback throws an error, propagate that specific error e.g.:
Error in oracle callback getPublicKey: Unknown public key for address 0x11955e0f09359377cabe60a7646c53a4c16155f67b8363b2e08c891fcc082f36. Add public key to Aztec RPC server by calling server.addPublicKeyAndPartialAddress(...)
instead of:
"Error awaiting
foreign_call_handler
: Error awaitingforeign_call_handler
: Unknown"
Bug
executeCircuit
function throws a generic error instead of a specifc one. See this issue in aztec-packages for more context.
To Reproduce
Environment
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response