FAQ entry for Weight adjustment (#2188)
* FAQ entry for Weight adjustment * CHANGELOG entry for rxjs Observable exposure * Event decoding
This commit is contained in:
@@ -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)`);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user