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

fetch system chain, name and version #385

Merged
merged 5 commits into from
Jan 10, 2022

Conversation

paulormart
Copy link
Contributor

I find this additional information useful to be available from a client tool perspective. And goes in line with the methods available in polkadot.js.

Copy link
Contributor

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

Nice, please add some tests for these though.

Just something like

async fn fetch_block_hash() {

Copy link
Contributor

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

LGTM!

@jsdw jsdw merged commit ea8c4dd into paritytech:master Jan 10, 2022
0623forbidden pushed a commit to DEIPworld/substrate-subxt that referenced this pull request Feb 15, 2022
* fetch system chain, name and version

* add fetch system tests

* fix fetch system test

* fix cargo fmt

* fix cargo clippy
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.

None yet

3 participants