From 622682b4efa8adf7a674e8955656c9601b2c0ac8 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sun, 7 Jun 2020 14:50:25 +0200 Subject: [PATCH] npos-election ElectionScore type (#2334) --- CHANGELOG.md | 8 ++++++++ packages/types/src/interfaces/staking/definitions.ts | 1 + 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9c2080639..a81252971a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## 1.18.0-beta.x + +- Expand docs on node-template types (Thanks to https://github.com/g2udevelopment) +- Update contract fees to current impl. (thanks to https://github.com/djuanit0x) +- Add types for new Substrate proxy module +- Adjust types for new Substrate (renamed) npos-elections module +- `Call` now exposes `method` & `section` fields (aligned with `toHuman()` representation) + ## 1.17.2 Jun 2, 2020 - Ensure subscription promise resolves before first result diff --git a/packages/types/src/interfaces/staking/definitions.ts b/packages/types/src/interfaces/staking/definitions.ts index 51d50e96de..dd07c8a36c 100644 --- a/packages/types/src/interfaces/staking/definitions.ts +++ b/packages/types/src/interfaces/staking/definitions.ts @@ -51,6 +51,7 @@ export default { electedStashes: 'Vec', exposures: 'Vec<(AccountId, Exposure)>' }, + ElectionScore: '[u128; 3]', ElectionSize: { validators: 'Compact', nominators: 'Compact'