Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix address types when necessary #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading