paritytech / paritytech/json-rpc-interface-spec

`chainSpec_lightSyncState`: Provide light-client sync state

Open
#68 5 comments 1 reaction 1 assignee View on GitHub

@lexnv is already working on this.

Since Jul 20, 2023.

Dominant language
No language data
Stars
37
Forks
6
PR merge metrics
No merged PRs in 30d

Description

What would be the most appropriate way to fetch the chain spec needed for the light-client with the new V2 APIs?

Although there's been some discussion about a standard format for this checkpoint

Ideally, we would stabilize the format of the sync-state before including it in the chainSpec class of functions.

Opening this to gather your opinion since we are also moving to stabilize the V1 of the chainSpec in

Some advantages will be that

  • we'll have the functionality needed to migrate the ecosystem to the RPC-V2 methods (Are you aware of any other methods we'd need 100% to keep parity with the old APIs?)
  • the chainSpec will be versioned and V1 will always return the same result (would avoid breaking changes for smoldot as in - https://github.com/paritytech/substrate/pull/9284)

While in constant change, we might needlessly burn multiple chainSpec versions until we find a final syncState

// @paritytech/subxt-team

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.