Adjust governance proxy list (w/ gov2 support) (#8496)

This commit is contained in:
Jaco 2022-12-07 11:41:06 +02:00 committed by GitHub
parent 94a24fd82e
commit 5a78c180b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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':