You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openrpc.json
+94Lines changed: 94 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6509,6 +6509,15 @@
6509
6509
"null"
6510
6510
]
6511
6511
},
6512
+
"max_function_body_size": {
6513
+
"description": "If present, stores max byte size of a single function body in a contract",
6514
+
"format": "uint64",
6515
+
"minimum": 0,
6516
+
"type": [
6517
+
"integer",
6518
+
"null"
6519
+
]
6520
+
},
6512
6521
"max_functions_number_per_contract": {
6513
6522
"description": "If present, stores max number of functions in one contract",
6514
6523
"format": "uint64",
@@ -6526,6 +6535,15 @@
6526
6535
],
6527
6536
"description": "Max amount of gas that can be used, excluding gas attached to promises."
6528
6537
},
6538
+
"max_instrumented_code_size": {
6539
+
"description": "If present, stores max byte size of the wasm code after gas instrumentation.\nThis prevents Cranelift's 24-bit SSA counter from overflowing on\npathologically large contracts.",
6540
+
"format": "uint64",
6541
+
"minimum": 0,
6542
+
"type": [
6543
+
"integer",
6544
+
"null"
6545
+
]
6546
+
},
6529
6547
"max_length_method_name": {
6530
6548
"description": "Max length of any method name (without terminating character).",
6531
6549
"format": "uint64",
@@ -7227,6 +7245,16 @@
7227
7245
"const": "TooManyTableElements",
7228
7246
"description": "Contract contains too many table elements.",
7229
7247
"type": "string"
7248
+
},
7249
+
{
7250
+
"const": "FunctionBodyTooLarge",
7251
+
"description": "A function body in the contract exceeds the size limit.",
7252
+
"type": "string"
7253
+
},
7254
+
{
7255
+
"const": "InstrumentedCodeTooLarge",
7256
+
"description": "The instrumented code exceeds the size limit.",
7257
+
"type": "string"
7230
7258
}
7231
7259
],
7232
7260
"title": "PrepareError"
@@ -8214,6 +8242,10 @@
8214
8242
"description": "Save observed instances of ChunkStateWitness to the database in DBCol::LatestChunkStateWitnesses.\nSaving the latest witnesses is useful for analysis and debugging.\nThis option can cause extra load on the database and is not recommended for production use.",
8215
8243
"type": "boolean"
8216
8244
},
8245
+
"save_receipt_to_tx": {
8246
+
"description": "Whether to persist receipt-to-tx origin mappings to disk or not.",
8247
+
"type": "boolean"
8248
+
},
8217
8249
"save_state_changes": {
8218
8250
"description": "Whether to persist state changes on disk or not.",
8219
8251
"type": "boolean"
@@ -8450,6 +8482,7 @@
8450
8482
"archive",
8451
8483
"save_trie_changes",
8452
8484
"save_tx_outcomes",
8485
+
"save_receipt_to_tx",
8453
8486
"save_state_changes",
8454
8487
"save_untracked_partial_chunks_parts",
8455
8488
"view_client_threads",
@@ -9224,6 +9257,34 @@
9224
9257
"title": "RpcReceiptResponse",
9225
9258
"type": "object"
9226
9259
},
9260
+
"RpcReceiptToTxRequest": {
9261
+
"properties": {
9262
+
"receipt_id": {
9263
+
"$ref": "#/components/schemas/CryptoHash"
9264
+
}
9265
+
},
9266
+
"required": [
9267
+
"receipt_id"
9268
+
],
9269
+
"title": "RpcReceiptToTxRequest",
9270
+
"type": "object"
9271
+
},
9272
+
"RpcReceiptToTxResponse": {
9273
+
"properties": {
9274
+
"sender_account_id": {
9275
+
"$ref": "#/components/schemas/AccountId"
9276
+
},
9277
+
"transaction_hash": {
9278
+
"$ref": "#/components/schemas/CryptoHash"
9279
+
}
9280
+
},
9281
+
"required": [
9282
+
"transaction_hash",
9283
+
"sender_account_id"
9284
+
],
9285
+
"title": "RpcReceiptToTxResponse",
9286
+
"type": "object"
9287
+
},
9227
9288
"RpcSendTransactionRequest": {
9228
9289
"properties": {
9229
9290
"signed_tx_base64": {
@@ -12117,6 +12178,10 @@
12117
12178
"minimum": 0,
12118
12179
"type": "integer"
12119
12180
},
12181
+
"one_yocto_on_promise": {
12182
+
"description": "See [VMConfig::one_yocto_on_promise](crate::vm::Config::one_yocto_on_promise).",
12183
+
"type": "boolean"
12184
+
},
12120
12185
"reftypes_bulk_memory": {
12121
12186
"description": "See [VMConfig::reftypes_bulk_memory](crate::vm::Config::reftypes_bulk_memory).",
0 commit comments