-
Notifications
You must be signed in to change notification settings - Fork 114
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
Ephesus merge mainnet liberated #4599
Ephesus merge mainnet liberated #4599
Conversation
Carthage Release
Add carthage chainspec to repo
…ndVideos_fixture fix: updating correct videoId in cliChannelsAndVideos fixture
…tring-fix Fix computing code shasum inside docker build
…_types_package make @joystream/types hybrid package
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Who else should review this? |
The two flows a failing consistently in the network integration tests:
|
In the channelclaim-* fixtures there where Council budget checks. They where concurrent to the budget update logic run at each new block, that's why they where failing. Budget checks would have been nice, but implementing them is time consuming. The other error was due to inviting members being run concurrently to the upgrade Membership Group budget fixture (so you had 2 concurrent budget updates) |
@@ -8,7 +8,7 @@ const workingGroupModules = [ | |||
'contentWorkingGroup', |
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.
I think we can drop this entierly. It uses sudo. We forgot about it in mainnet-liberated branch
I would have assumed these were working before. Why would they stop working in this merge? |
public async execute(): Promise<void> {
this.expectedClaims = await getExpectedClaims(this.api, this.claimChannelRewardParams)
const expectedClaimsSum = this.expectedClaims.reduce((sum, claim) => sum.add(new BN(claim)), new BN(0))
const councilBudgetPre = await this.api.query.council.budget()
await super.execute()
const councilBudgetPost = await this.api.query.council.budget()
assert.equal(councilBudgetPre.toString(), councilBudgetPost.add(expectedClaimsSum).toString())
} The execute function reads the council budget before and post execution. However there are multiple budget modifications due to the council budget bookkeeping logic (screenshot below). So the assertion checking only for the channel reward variation fails. I am investigating why this error has not appeared before, |
Ok thanks for investigating that, it would be good to have such assertions as part of these fixtures but it is out of scope of this PR. |
merge
mainnet-liberated
intoephesus
#4556Main points
I left a comment for theupdate: I left the proposal disabled as we don't have integration tests for this yetupdate_curator_group_permissions
call which I was not sure where it should be enabled or notpallet_membership::create_member
relies onroot
as it was used for founding members. Hence it is not used anymore and I have removed the respective tests from thefull
scenarioephesus
:┆Issue is synchronized with this Asana task by Unito