Make Metadata <-> hex encoding work (#1862)
* Make Metadata <-> hex encoding work * Cleanup encoded, only toString exposes santized * toHex is actual original toHex, remove override * Update CHANGELOG * CHANGELOG for .entries argument typing * Update CHANGELOG.md * Manual check type for DoubleMap * Comment around super.toString usage * Runtime version
This commit is contained in:
@@ -59,6 +59,10 @@ async function query (api: ApiPromise, keyring: TestKeyringMap): Promise<void> {
|
||||
|
||||
multiUnsub();
|
||||
});
|
||||
|
||||
// check entries()
|
||||
await api.query.system.account.entries(); // should not take a param
|
||||
await api.query.staking.nominatorSlashInEra.entries(123); // should take a param
|
||||
}
|
||||
|
||||
async function rpc (api: ApiPromise): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user