Add Vote override for conviction-voting (#4821)
This commit is contained in:
@@ -3454,7 +3454,7 @@ export default {
|
||||
PalletConvictionVotingVoteAccountVote: {
|
||||
_enum: {
|
||||
Standard: {
|
||||
vote: 'u8',
|
||||
vote: 'Vote',
|
||||
balance: 'u128',
|
||||
},
|
||||
Split: {
|
||||
|
||||
@@ -3714,7 +3714,7 @@ declare module '@polkadot/types/lookup' {
|
||||
export interface PalletConvictionVotingVoteAccountVote extends Enum {
|
||||
readonly isStandard: boolean;
|
||||
readonly asStandard: {
|
||||
readonly vote: u8;
|
||||
readonly vote: Vote;
|
||||
readonly balance: u128;
|
||||
} & Struct;
|
||||
readonly isSplit: boolean;
|
||||
|
||||
@@ -35,6 +35,7 @@ const PATHS_ALIAS = splitNamespace([
|
||||
// wildcard matching in place...
|
||||
// these have a specific encoding or logic, use a wildcard for {pallet, darwinia}_democracy
|
||||
'*_democracy::vote::Vote',
|
||||
'*_conviction_voting::vote::Vote',
|
||||
'*_identity::types::Data',
|
||||
// shorten some well-known types
|
||||
'primitive_types::*',
|
||||
|
||||
Reference in New Issue
Block a user