Update definitions.ts (#2514)
* Update definitions.ts Will fix the decoding of these types. Sadly cannot provide a compact test case. * Add more tests. * Make the tests work. * Fix linting as well.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -24,8 +24,8 @@ export default {
|
||||
start: 'Option<Moment>'
|
||||
},
|
||||
CompactAssignments: {
|
||||
votes1: 'Vec<(NominatorIndexCompact, [CompactScoreCompact; 0], ValidatorIndexCompact)>',
|
||||
votes2: 'Vec<(NominatorIndexCompact, [CompactScoreCompact; 1], ValidatorIndexCompact)>',
|
||||
votes1: 'Vec<(NominatorIndexCompact, ValidatorIndexCompact)>',
|
||||
votes2: 'Vec<(NominatorIndexCompact, CompactScoreCompact, ValidatorIndexCompact)>',
|
||||
votes3: 'Vec<(NominatorIndexCompact, [CompactScoreCompact; 2], ValidatorIndexCompact)>',
|
||||
votes4: 'Vec<(NominatorIndexCompact, [CompactScoreCompact; 3], ValidatorIndexCompact)>',
|
||||
votes5: 'Vec<(NominatorIndexCompact, [CompactScoreCompact; 4], ValidatorIndexCompact)>',
|
||||
|
||||
Reference in New Issue
Block a user