Skip to content

Commit

Permalink
Remove redundant 'class_hash' in the array of declared contracts (#53)
Browse files Browse the repository at this point in the history
* Remove redundant 'class_hash' in the array of declared contracts

* Fix CR
  • Loading branch information
anatgstarkware authored Sep 6, 2022
1 parent 0b379fc commit 438df17
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openrpc": "1.0.0-rc1",
"info": {
"version": "0.43.0",
"version": "0.44.0",
"title": "StarkNet Node API",
"license": {}
},
Expand Down Expand Up @@ -866,11 +866,11 @@
"$ref": "#/components/schemas/CONTRACT_STORAGE_DIFF_ITEM"
}
},
"declared_contracts": {
"declared_contract_hashes": {
"type": "array",
"items": {
"description": "A new contract declared as part of the new state",
"$ref": "#/components/schemas/DECLARED_CONTRACT_ITEM"
"description": "The hash of a new contract declared as part of the new state",
"$ref": "#/components/schemas/FELT"
}
},
"deployed_contracts": {
Expand Down Expand Up @@ -1075,15 +1075,6 @@
}
]
},
"DECLARED_CONTRACT_ITEM": {
"type": "object",
"properties": {
"class_hash": {
"description": "The hash of the contract code",
"$ref": "#/components/schemas/FELT"
}
}
},
"DEPLOYED_CONTRACT_ITEM": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 438df17

Please sign in to comment.