Skip to content
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

[Nara] Change referendum + council parameters #4884

Merged

Conversation

freakstatic
Copy link
Contributor

Implements #4866

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

@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
Contributor

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
23 checks passed
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.

None yet

2 participants