Skip to content

Commit

Permalink
fix address types when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Jul 8, 2024
1 parent e5ce8c6 commit 4f17014
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@
"sequencer_address": {
"title": "Sequencer address",
"description": "The StarkNet identity of the sequencer submitting this block",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
},
"l1_gas_price": {
"title": "L1 gas price",
Expand Down Expand Up @@ -1474,7 +1474,7 @@
"sequencer_address": {
"title": "Sequencer address",
"description": "The StarkNet identity of the sequencer submitting this block",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
},
"l1_gas_price": {
"title": "L1 gas price",
Expand Down Expand Up @@ -1635,7 +1635,7 @@
"address": {
"title": "Address",
"description": "The address of the contract",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
},
"class_hash": {
"title": "Class hash",
Expand All @@ -1652,7 +1652,7 @@
"address": {
"title": "Address",
"description": "The contract address for which the storage changed",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
},
"storage_entries": {
"title": "Storage entries",
Expand Down Expand Up @@ -2811,7 +2811,7 @@
"contract_address": {
"title": "Contract address",
"description": "The address of the deployed contract",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
}
},
"required": ["type", "contract_address"]
Expand All @@ -2837,7 +2837,7 @@
"contract_address": {
"title": "Contract address",
"description": "The address of the deployed contract",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
}
},
"required": ["type", "contract_address"]
Expand Down Expand Up @@ -2926,12 +2926,12 @@
"properties": {
"from_address": {
"description": "The address of the L2 contract sending the message",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
},
"to_address": {
"title": "To address",
"description": "The target L1 address the message is sent to",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ETH_ADDRESS"
},
"payload": {
"description": "The payload of the message",
Expand Down
2 changes: 1 addition & 1 deletion api/starknet_trace_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
"caller_address": {
"title": "Caller Address",
"description": "The address of the invoking contract. 0 for the root invocation",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
},
"class_hash": {
"title": "Class hash",
Expand Down
2 changes: 1 addition & 1 deletion api/starknet_write_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
},
"contract_address": {
"title": "The address of the new contract",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
}
},
"required": ["transaction_hash", "contract_address"]
Expand Down

0 comments on commit 4f17014

Please sign in to comment.