Open
Description
If you follow the API docs here https://polkadot.js.org/docs/substrate/storage#authoritydiscovery and call api.query.authorityDiscovery.keys()
after connecting to WS provider wss://rpc.polkadot.io, it returns TypeError: Cannot read property 'keys' of undefined
. This was reported here https://substrate.stackexchange.com/questions/7761/how-to-query-api-query-authoritydiscovery-keys/7789#7789
Is it the case that it has been replaced with https://polkadot.js.org/docs/substrate/runtime#authoritydiscoveryapi ?