Skip to content

Commit

Permalink
remove rendundancy from block receipts
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielElp committed Feb 13, 2024
1 parent 159fb9c commit 964f314
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -1418,25 +1418,21 @@
"description": "The transactions in this block",
"type": "array",
"items": {
"title": "transactions in block",
"type": "object",
"allOf": [
{
"title": "transaction and receipt",
"properties": {
"transaction": {
"title": "transaction",
"$ref": "#/components/schemas/TXN"
},
{
"type": "object",
"properties": {
"receipt": {
"title": "receipt",
"$ref": "#/components/schemas/TXN_RECEIPT"
}
},
"required": [
"receipt"
]
"receipt": {
"title": "receipt",
"$ref": "#/components/schemas/TXN_RECEIPT_IN_BLOCK"
}
},
"required": [
"transaction",
"receipt"
]
}
}
Expand Down Expand Up @@ -3208,6 +3204,10 @@
}
]
},
"TXN_RECEIPT_IN_BLOCK": {
"title": "receipt in block",
"$ref": "#/components/schemas/PENDING_TXN_RECEIPT"
},
"PENDING_COMMON_RECEIPT_PROPERTIES": {
"title": "Pending common receipt properties",
"description": "Common properties for a pending transaction receipt",
Expand Down

0 comments on commit 964f314

Please sign in to comment.