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 3, 2024
1 parent 304b952 commit 01d4f90
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 @@ -1465,7 +1465,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 @@ -1523,7 +1523,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 @@ -1697,7 +1697,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 @@ -1717,7 +1717,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 @@ -3013,7 +3013,7 @@
"contract_address": {
"title": "Contract address",
"description": "The address of the deployed contract",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
}
},
"required": [
Expand Down Expand Up @@ -3044,7 +3044,7 @@
"contract_address": {
"title": "Contract address",
"description": "The address of the deployed contract",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
}
},
"required": [
Expand Down Expand Up @@ -3141,12 +3141,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 @@ -335,7 +335,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 @@ -165,7 +165,7 @@
},
"contract_address": {
"title": "The address of the new contract",
"$ref": "#/components/schemas/FELT"
"$ref": "#/components/schemas/ADDRESS"
}
},
"required": [
Expand Down

0 comments on commit 01d4f90

Please sign in to comment.