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

Stabilize chainHead to version 1 #147

Merged
merged 10 commits into from
Apr 3, 2024
Merged

Stabilize chainHead to version 1 #147

merged 10 commits into from
Apr 3, 2024

Conversation

lexnv
Copy link
Contributor

@lexnv lexnv commented Mar 21, 2024

This PR stabilizes all chainHead methods to version 1.

cc @paritytech/subxt-team @tomaka @josepot

lexnv added 9 commits March 21, 2024 16:49
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
@lexnv lexnv self-assigned this Mar 21, 2024
jsdw
jsdw previously approved these changes Mar 21, 2024
Copy link
Collaborator

@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.

Looks good to me! We've been using these methods for a while in Subxt and they are roughly at parity with the legacy methods in terms of the functionality exposed.

My stance is that, although there are likely a few changes I'd like to see here, it's much better to stabilise something now rather than get caught up with aiming for perfection and not get anything stabilised for a while.

Once these are stabilised, we can introduce v2 etc methods if needed to accomodate future requests and changes. We can also have confidence that PAPI will Just Work, and work to stabilise the "unstable backend" in Subxt (which relies on these currently unstable methods).

Copy link
Contributor

@tomaka tomaka left a comment

Choose a reason for hiding this comment

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

👍

@lexnv lexnv merged commit 814228a into main Apr 3, 2024
3 checks passed
@lexnv lexnv deleted the lexnv/stabilize-chainHead branch April 3, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants