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

im-online was removed on Kusama #292

Open
tugytur opened this issue Apr 18, 2024 · 0 comments
Open

im-online was removed on Kusama #292

tugytur opened this issue Apr 18, 2024 · 0 comments

Comments

@tugytur
Copy link

tugytur commented Apr 18, 2024

With the latest runtime upgrade 1.2.0 on Kusama the im-online pallet was removed as mentioned here

Now it throws the following error:

/opt/polkadot-watcher/dist/utils.js:35
    const blockThreshold = yield api.query.imOnline.heartbeatAfter(); //threshold after which an heartbeat is expected
                                                    ^
TypeError: Cannot read property 'heartbeatAfter' of undefined
    at /opt/polkadot-watcher/dist/utils.js:35:53
    at Generator.next (<anonymous>)
    at /opt/polkadot-watcher/dist/utils.js:9:71
    at new Promise (<anonymous>)
    at __awaiter (/opt/polkadot-watcher/dist/utils.js:5:12)
    at isHeadAfterHeartbeatBlockThreshold (/opt/polkadot-watcher/dist/utils.js:33:61)
    at Subscriber.<anonymous> (/opt/polkadot-watcher/dist/subscriber.js:242:94)
    at Generator.next (<anonymous>)
    at /opt/polkadot-watcher/dist/subscriber.js:8:71
    at new Promise (<anonymous>)

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