Skip to content

Commit 1ce332d

Browse files
Merge pull request #309 from starkware-libs/leo/description-fixes
Remove "pending" from descriptions
2 parents 76ab56a + a3570e1 commit 1ce332d

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

api/starknet_api_openrpc.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"$ref": "#/components/schemas/BLOCK_WITH_TX_HASHES"
4747
},
4848
{
49-
"title": "Pending block with transaction hashes",
49+
"title": "Pre-confirmed block with transaction hashes",
5050
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_WITH_TX_HASHES"
5151
}
5252
]
@@ -83,7 +83,7 @@
8383
"$ref": "#/components/schemas/BLOCK_WITH_TXS"
8484
},
8585
{
86-
"title": "Pending block with transactions",
86+
"title": "Pre-confirmed block with transactions",
8787
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_WITH_TXS"
8888
}
8989
]
@@ -120,7 +120,7 @@
120120
"$ref": "#/components/schemas/BLOCK_WITH_RECEIPTS"
121121
},
122122
{
123-
"title": "Pending block with transactions",
123+
"title": "Pre-confirmed block with transactions",
124124
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_WITH_RECEIPTS"
125125
}
126126
]
@@ -157,7 +157,7 @@
157157
"$ref": "#/components/schemas/STATE_UPDATE"
158158
},
159159
{
160-
"title": "Pending state update",
160+
"title": "Pre-confirmed state update",
161161
"$ref": "#/components/schemas/PRE_CONFIRMED_STATE_UPDATE"
162162
}
163163
]
@@ -913,7 +913,7 @@
913913
{
914914
"not": {
915915
"type": "string",
916-
"enum": ["pending"]
916+
"enum": ["pre_confirmed"]
917917
}
918918
}
919919
]
@@ -1413,8 +1413,8 @@
14131413
]
14141414
},
14151415
"PRE_CONFIRMED_STATE_UPDATE": {
1416-
"title": "Pending state update",
1417-
"description": "Pending state update",
1416+
"title": "Pre-confirmed state update",
1417+
"description": "Pre-confirmed state update",
14181418
"type": "object",
14191419
"properties": {
14201420
"old_root": {
@@ -1634,7 +1634,7 @@
16341634
]
16351635
},
16361636
"PRE_CONFIRMED_BLOCK_HEADER": {
1637-
"title": "Pending block header",
1637+
"title": "Pre-confirmed block header",
16381638
"type": "object",
16391639
"properties": {
16401640
"parent_hash": {
@@ -1770,43 +1770,43 @@
17701770
]
17711771
},
17721772
"PRE_CONFIRMED_BLOCK_WITH_TX_HASHES": {
1773-
"title": "Pending block with transaction hashes",
1773+
"title": "Pre-confirmed block with transaction hashes",
17741774
"description": "The dynamic block being constructed by the sequencer. Note that this object will be deprecated upon decentralization.",
17751775
"allOf": [
17761776
{
17771777
"title": "Block body with transactions hashes",
17781778
"$ref": "#/components/schemas/BLOCK_BODY_WITH_TX_HASHES"
17791779
},
17801780
{
1781-
"title": "Pending block header",
1781+
"title": "Pre-confirmed block header",
17821782
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_HEADER"
17831783
}
17841784
]
17851785
},
17861786
"PRE_CONFIRMED_BLOCK_WITH_TXS": {
1787-
"title": "Pending block with transactions",
1787+
"title": "Pre-confirmed block with transactions",
17881788
"description": "The dynamic block being constructed by the sequencer. Note that this object will be deprecated upon decentralization.",
17891789
"allOf": [
17901790
{
17911791
"title": "Block body with transactions",
17921792
"$ref": "#/components/schemas/BLOCK_BODY_WITH_TXS"
17931793
},
17941794
{
1795-
"title": "Pending block header",
1795+
"title": "Pre-confirmed block header",
17961796
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_HEADER"
17971797
}
17981798
]
17991799
},
18001800
"PRE_CONFIRMED_BLOCK_WITH_RECEIPTS": {
1801-
"title": "Pending block with transactions and receipts",
1801+
"title": "Pre-confirmed block with transactions and receipts",
18021802
"description": "The dynamic block being constructed by the sequencer. Note that this object will be deprecated upon decentralization.",
18031803
"allOf": [
18041804
{
18051805
"title": "Block body with transactions and receipts",
18061806
"$ref": "#/components/schemas/BLOCK_BODY_WITH_RECEIPTS"
18071807
},
18081808
{
1809-
"title": "Pending block header",
1809+
"title": "Pre-confirmed block header",
18101810
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_HEADER"
18111811
}
18121812
]
@@ -3029,12 +3029,12 @@
30293029
"block_hash": {
30303030
"title": "Block hash",
30313031
"$ref": "#/components/schemas/BLOCK_HASH",
3032-
"description": "If this field is missing, it means the receipt belongs to the pending block"
3032+
"description": "If this field is missing, it means the receipt belongs to the pre-confirmed block"
30333033
},
30343034
"block_number": {
30353035
"title": "Block number",
30363036
"$ref": "#/components/schemas/BLOCK_NUMBER",
3037-
"description": "If this field is missing, it means the receipt belongs to the pending block"
3037+
"description": "If this field is missing, it means the receipt belongs to the pre-confirmed block"
30383038
}
30393039
}
30403040
}

0 commit comments

Comments
 (0)