Skip to content

[DataAvailability] Implement fork-aware Scheduled Transaction Endpoints #8344

@AndriiDiachuk

Description

@AndriiDiachuk

Update ScheduledTransaction endpoints to use caching layer to get data from local storage.

  • GetScheduledTransaction
  • GetScheduledTransactionResult

Implementation tasks

  1. Add arguments to backend implementation that specify the user query criteria
  2. Update grpc handler to extract and pass the criteria from the protobuf request
  3. Update rest handler to extract and pass the criteria
  4. In the backend implementation:
    a. Get the block(s) the request relates to
    b. Lookup the execution result for the provided block
    c. Get the snapshot for the result, then get the storage reader(s) required for the endpoint
    d. Use the reader as usual
  5. Update error handling to use the new framework
  6. Ensure godocs are up to standard for all methods that are interacted with during the code paths.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions