-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add financial council #1059
Conversation
Тестов к этому пока нет? |
@uandysmith могу написать дополнительные gov-тесты, но надо подтверждение, что настройка по управлению составом фин-комма удовлетворяет. И что прайм-голос можно поставить с помощью >50% обычного Совета |
3fb7ec9
to
d9af4ae
Compare
test: add techComm+finCouncil tests, remove duplicates
js-packages/test-utils/util.ts
Outdated
@@ -117,6 +117,7 @@ export enum Pallets { | |||
Identity = 'identity', | |||
Democracy = 'democracy', | |||
Council = 'council', | |||
FinancialCouncil = 'financialcouncil', | |||
//CouncilMembership = 'councilmembership', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мб удалим это?
)).to.be.rejectedWith('BadOrigin'); | ||
}); | ||
|
||
itSub('[Negative] FinCouncil member can\'t add a Fellowship member', async ({helper}) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Для всего FinCouncil теста нет. Хотя, наверное, это было бы избыточно
await proposalFromAllCommittee(addMemberProposal); | ||
|
||
const finCouncilMembers = await helper.finCouncil.membership.getMembers(); | ||
expect(finCouncilMembers).to.contains(newFinCouncilMember.address); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ощущение, что это неправильно. Пропущен "not"?
No description provided.