Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[RPC-Spec-V2] Backport changes to chainHead #14636

Open
4 of 5 tasks
lexnv opened this issue Jul 25, 2023 · 0 comments
Open
4 of 5 tasks

[RPC-Spec-V2] Backport changes to chainHead #14636

lexnv opened this issue Jul 25, 2023 · 0 comments
Assignees
Labels
J0-enhancement An additional feature request.

Comments

@lexnv
Copy link
Contributor

lexnv commented Jul 25, 2023

Implement the following changes to the chainHead class of RPC methods:

The chainHead_follow is now responsible for generating the result of the other methods:

  • chainHead_follow events / errors are extended to announce blocks and results of other methods
  • chainHead_storage, chainHead_call, chainHead_body are plain methods that return an operation ID
  • chainHead_follow produces the response of the provided operations
  • ongoing operations can be canceled by a new method chainHead_stopOperation
  • chainHead introduces a minimum 16 number of ongoing operations after which the limitReached event is produced

// @paritytech/subxt-team

Tasks

Preview Give feedback
  1. 4 of 5
    J0-enhancement
    lexnv
  2. J0-enhancement
    lexnv
  3. J0-enhancement
    lexnv
  4. J0-enhancement
    lexnv
  5. J0-enhancement
    lexnv
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J0-enhancement An additional feature request.
Projects
None yet
Development

No branches or pull requests

1 participant