Adjust governance proxy list (w/ gov2 support) (#8496)
This commit is contained in:
parent
94a24fd82e
commit
5a78c180b7
@ -94,7 +94,7 @@ function filterProxies (allAccounts: string[], tx: Call | SubmittableExtrinsic<'
|
||||
|
||||
case 'Governance':
|
||||
return checkNested(address) || (
|
||||
['council', 'democracy', 'elections', 'electionsPhragmen', 'phragmenElection', 'poll', 'society', 'technicalCommittee', 'tips', 'treasury'].includes(section)
|
||||
['convictionVoting', 'council', 'councilCollective', 'democracy', 'elections', 'electionsPhragmen', 'fellowshipCollective', 'fellowshipReferenda', 'phragmenElection', 'poll', 'referenda', 'society', 'technicalCommittee', 'tips', 'treasury', 'whitelist'].includes(section)
|
||||
);
|
||||
|
||||
case 'IdentityJudgement':
|
||||
@ -118,7 +118,7 @@ function filterProxies (allAccounts: string[], tx: Call | SubmittableExtrinsic<'
|
||||
|
||||
case 'Staking':
|
||||
return checkNested(address) || (
|
||||
section === 'staking'
|
||||
['fastUnstake', 'staking'].includes(section)
|
||||
);
|
||||
|
||||
case 'SudoBalances':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user