Skip to content

Commit fd21cd9

Browse files
authored
Merge pull request #1627 from devbugging/gregor/callbacks/api-system-tx-id
[Scheduled Callbacks] Add optional system transaction ID argument
2 parents 7ab19e9 + bea012b commit fd21cd9

2 files changed

Lines changed: 218 additions & 179 deletions

File tree

protobuf/flow/access/access.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,27 @@ message GetTransactionRequest {
380380
}
381381

382382
message GetSystemTransactionRequest {
383+
// BlockID of the block that contains the system transaction.
383384
bytes block_id = 1;
385+
386+
// ID of the system transaction. [optional]
387+
// If unset, the last system transaction is returned.
388+
bytes id = 2;
384389
}
385390

386391
message GetSystemTransactionResultRequest {
392+
// BlockID of the block that contains the system transaction.
387393
bytes block_id = 1;
394+
395+
// Desired event payload encoding.
388396
entities.EventEncodingVersion event_encoding_version = 2;
397+
398+
// Execution state query parameters used for unsealed blocks. [optional]
389399
entities.ExecutionStateQuery execution_state_query = 3;
400+
401+
// ID of the system transaction. [optional]
402+
// If unset, the result of the last system transaction is returned.
403+
bytes id = 4;
390404
}
391405

392406
message GetTransactionByIndexRequest {

0 commit comments

Comments
 (0)