Skip to content

Commit

Permalink
add string data to CONTRACT_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielElp committed Sep 20, 2023
1 parent 9592c48 commit f3aea5c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3596,7 +3596,19 @@
},
"CONTRACT_ERROR": {
"code": 40,
"message": "Contract error"
"message": "Contract error",
"data": {
"type": "object",
"description": "More data about the execution failure",
"properties": {
"revert_error": {
"title": "revert error",
"description": "a string encoding the execution trace up to the point of failure",
"type": "string"
}
},
"required": "revert_error"
}
}
}
}
Expand Down

0 comments on commit f3aea5c

Please sign in to comment.