Adjust ProxyType for Westend (#2339)

This commit is contained in:
Jaco Greeff
2020-06-08 15:30:51 +02:00
committed by GitHub
parent 4e7f3f5268
commit 0ad146c607
2 changed files with 16 additions and 2 deletions
+4 -1
View File
@@ -3,10 +3,13 @@
## 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)
- Update contract fees to current impl. (Thanks to https://github.com/djuanit0x)
- Allow `Option` types in enum/Result type generation (Thanks to http://github.com/xlc)
- Add `.entriesPaged` and `.keysPaged` methods for state maps (https://github.com/monitz87)
- 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)
- Cater for new Substrate string subscription ids (with backwards compatibility)
## 1.17.2 Jun 2, 2020
+12 -1
View File
@@ -16,12 +16,23 @@ const versioned: OverrideVersionedType[] = [
}
},
{
minmax: [3, undefined],
minmax: [3, 19],
types: {
Address: 'AccountId',
Keys: 'SessionKeys5',
LookupSource: 'AccountId'
}
},
{
minmax: [20, undefined],
types: {
Address: 'AccountId',
Keys: 'SessionKeys5',
LookupSource: 'AccountId',
ProxyType: {
_enum: ['Any', 'NonTransfer', 'Staking']
}
}
}
];