Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
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
@lexnv

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions