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

Make the ChainInformation builder support older runtimes #2930

Closed
tomaka opened this issue Oct 25, 2022 · 2 comments
Closed

Make the ChainInformation builder support older runtimes #2930

tomaka opened this issue Oct 25, 2022 · 2 comments

Comments

@tomaka
Copy link
Contributor

tomaka commented Oct 25, 2022

At the moment, the ChainInformation builder assumes that the runtime contains some functions.
If not there, it will simply fail.

Unfortunately, some of these functions have been added after the launch of Polkadot, and are not available in earlier versions.

It should, however, be possible to simply query the elements from the chain storage.

@tomaka
Copy link
Contributor Author

tomaka commented Oct 26, 2022

It turns out that the Babe next epoch information isn't available in storage. We added a storage entry at the same time as BabeApi_next_epoch has been added.

@tomaka
Copy link
Contributor Author

tomaka commented Oct 28, 2022

Closing as not doable.

@tomaka tomaka closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2022
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

No branches or pull requests

1 participant