Skip to content

[Nara] Change referendum + council parameters#4884

Merged
mnaamani merged 1 commit intoJoystream:narafrom
freakstatic:nara-referendum-council-parameters
Sep 27, 2023
Merged

[Nara] Change referendum + council parameters#4884
mnaamani merged 1 commit intoJoystream:narafrom
freakstatic:nara-referendum-council-parameters

Conversation

@freakstatic
Copy link
Copy Markdown
Contributor

Implements #4866

@freakstatic freakstatic changed the title Change referendum + council parameters [Nara] Change referendum + council parameters Sep 24, 2023
Copy link
Copy Markdown
Member

@mnaamani mnaamani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New values look correct as decided by DAO. But please leave out the migrations, they are not the correct way to test these new values.

fn on_runtime_upgrade() -> Weight {
let voting_stage_duration =
<Runtime as referendum::Config<ReferendumInstance>>::VoteStageDuration::get();
assert!(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We definitely do not want to assert here, this will halt the chain.
I would recommend leaving out any of these "tests" from the runtime.

@freakstatic freakstatic force-pushed the nara-referendum-council-parameters branch from bc920e1 to dfe16f0 Compare September 27, 2023 14:53
@mnaamani mnaamani self-requested a review September 27, 2023 15:24
@mnaamani mnaamani merged commit a09dd00 into Joystream:nara Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants