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:
Jaco Greeff
2020-02-16 07:34:45 +01:00
committed by GitHub
parent 0822d4d8c6
commit c465252e69
9 changed files with 141 additions and 122 deletions
+4
View File
@@ -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> {