Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chainHead: Stabilize chainHead to version 1 #4168

Merged
merged 6 commits into from
Apr 18, 2024
Merged

Conversation

lexnv
Copy link
Contributor

@lexnv lexnv commented Apr 17, 2024

This PR stabilizes the chainHead API to version 1.

Needs:

cc @paritytech/subxt-team

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
@lexnv lexnv added A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). I5-enhancement An additional feature request. T3-RPC_API This PR/Issue is related to RPC APIs. D0-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder. labels Apr 17, 2024
@lexnv lexnv self-assigned this Apr 17, 2024
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
@lexnv lexnv changed the title chainHead: Stabilize chianHead to version 1 chainHead: Stabilize chainHead to version 1 Apr 17, 2024
Copy link
Contributor

@jsdw jsdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this!

I wonder whether, in this initial PR, we should alias eg chainHead_unstable_foo to call chainHead_v1_foo, just so that clients like PAPI/Subxt will continue to work until they update. I'm not personally too fussed from Subxt's PoV though. - Since PAPI uses Smoldot anyway it probably doesn't care, and I don't care for Subxt so I think we can just change them to v1 without any extra effort.

@lexnv lexnv added this pull request to the merge queue Apr 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 18, 2024
@lexnv lexnv enabled auto-merge April 18, 2024 11:33
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable 1/3
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5973767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). D0-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder. I5-enhancement An additional feature request. T3-RPC_API This PR/Issue is related to RPC APIs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants