FAQ entry for Weight adjustment (#2188)

* FAQ entry for Weight adjustment

* CHANGELOG entry for rxjs Observable exposure

* Event decoding
This commit is contained in:
Jaco Greeff
2020-04-16 21:29:22 +02:00
committed by GitHub
parent 7f35fa22d5
commit 4e1145c66f
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -51,5 +51,5 @@ While we can retrieve only the keys for a specific era, using a argument for the
const slashedKeys = await api.query.staking.nominatorSlashInEra.keys(652);
// key args still contains [EraIndex, AccountId] decoded
console.log(`slashed: ${slashedKeys.map(({ args: [era, nominatorId]}) => nominatorId.toString())`);
console.log(`slashed: ${slashedKeys.map(({ args: [era, nominatorId] }) => nominatorId)`);
```