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

support for ImOnline module #390

Closed
Maharacha opened this issue Jun 7, 2024 · 4 comments
Closed

support for ImOnline module #390

Maharacha opened this issue Jun 7, 2024 · 4 comments

Comments

@Maharacha
Copy link

I'm trying to use the ImOnline module https://polkadot.js.org/docs/kusama/storage/#receivedheartbeatsu32-u32-optionbool with no success.
Something like this:

    received_heartbeats = substrate.query(
        module='ImOnline',
        storage_function='ReceivedHeartbeats',
        params=[ss58_decode("F7jUQyYybzQJMnfoYninC1G1j6BCkj4MtJps7z87w2Sxwat")]
    )

Is this not supported or am I doing something wrong?

@freshsalis
Copy link

I tried the same approach too and I got substrateinterface.exceptions.StorageFunctionNotFound: Pallet "ImOnline" not found

@arjanz
Copy link
Member

arjanz commented Jun 7, 2024

It seems since a recent runtime upgrade, the pallet ImOnline is removed from Polkadot/Kusama. It's not present in the Metadata anymore, I checked with PolkadotJS.

@arjanz
Copy link
Member

arjanz commented Jun 7, 2024

More info: paritytech/polkadot-sdk#3902

@Maharacha
Copy link
Author

More info: paritytech/polkadot-sdk#3902

Oh interesting. Not related to this library then. Thanks for fast response!

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

3 participants