Skip to content

Commit

Permalink
change traceBlockTransaction error type
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielElp committed Oct 1, 2023
1 parent 59b838c commit d23fb06
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions api/starknet_trace_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
},
"errors": [
{
"$ref": "#/components/errors/INVALID_BLOCK_HASH"
"$ref": "#/components/errors/BLOCK_NOT_FOUND"
}
]
}
Expand Down Expand Up @@ -476,16 +476,12 @@
"code": 20,
"message": "Contract not found"
},
"BLOCK_NOT_FOUND": {
"code": 24,
"message": "Block not found"
},
"INVALID_TXN_HASH": {
"code": 25,
"message": "Invalid transaction hash"
},
"INVALID_BLOCK_HASH": {
"code": 26,
"BLOCK_NOT_FOUND": {
"code": 24,
"message": "Invalid block hash"
},
"CONTRACT_ERROR": {
Expand Down

0 comments on commit d23fb06

Please sign in to comment.