JSON-RPC 0.8.0: structured traceback in CONTRACT_ERROR
and TRANSACTION_EXECUTION_ERROR
errors
#2265
Milestone
CONTRACT_ERROR
and TRANSACTION_EXECUTION_ERROR
errors
#2265
The new specification adds the (recursive)
CONTRACT_EXECUTION_ERROR
type for representing stack traces.We don't currently have detailed stack trace information in the JSON-RPC code because the execution layer converts blockifier's
blockifier::transaction::errors::TransactionExecutionError
to a string right away. We should be returning a structured error instead and do the appropriate conversion to the JSON-RPC representation in the RPC code.Reference: starkware-libs/starknet-specs@e8aad20
The text was updated successfully, but these errors were encountered: