Skip to content

Commit

Permalink
Merge pull request #154 from starkware-libs/omri/fix-pending-block-sc…
Browse files Browse the repository at this point in the history
…hemas

fix: fix pending block header schema
  • Loading branch information
OmriEshhar1 authored Oct 30, 2023
2 parents 08ace04 + a9cc8b0 commit 768b613
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,13 @@
"l1_gas_price",
"starknet_version"
],
"additionalProperties": false
"not": {
"required": [
"block_hash",
"block_number",
"new_root"
]
}
},
"BLOCK_WITH_TX_HASHES": {
"title": "Block with transaction hashes",
Expand Down Expand Up @@ -1517,8 +1523,7 @@
"title": "Pending block header",
"$ref": "#/components/schemas/PENDING_BLOCK_HEADER"
}
],
"additionalProperties": false
]
},
"PENDING_BLOCK_WITH_TXS": {
"title": "Pending block with transactions",
Expand All @@ -1532,8 +1537,7 @@
"title": "Pending block header",
"$ref": "#/components/schemas/PENDING_BLOCK_HEADER"
}
],
"additionalProperties": false
]
},
"DEPLOYED_CONTRACT_ITEM": {
"title": "Deployed contract item",
Expand Down

0 comments on commit 768b613

Please sign in to comment.