Skip to content

Commit

Permalink
Merge pull request #143 from starkware-libs/fix_traceBlock_error
Browse files Browse the repository at this point in the history
change traceBlockTransaction error type (#143)
  • Loading branch information
ArielElp authored Oct 9, 2023
2 parents f172acd + d23fb06 commit a53dea6
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 a53dea6

Please sign in to comment.