w3f / polkadot-wiki-old

The Polkadot wiki.
https://wiki.polkadot.network
55 stars 40 forks source link

make wiki governance same as blog post #245

Closed jplatts12 closed 5 years ago

jplatts12 commented 5 years ago

Time: The amount of time those tokens will remain locked after the referendum has ended. Five periods are allowed: 4 weeks, 8 weeks, 16 weeks, 32 weeks and 64 weeks. Each doubling of the period results in the voter getting an additional “vote”.

From: https://medium.com/polkadot-network/a-walkthrough-of-polkadots-governance-486555a056e0

Wiki has 6 periods.

laboon commented 5 years ago

That's not what the code says - do you know which is right?

https://github.com/paritytech/substrate/blob/master/srml/democracy/src/lib.rs

pub enum Conviction {
    /// 0.1x votes, unlocked.
    None,
    /// 1x votes, locked for an enactment period following a successful vote.
    Locked1x,
    /// 2x votes, locked for 2x enactment periods following a successful vote.
    Locked2x,
    /// 3x votes, locked for 4x...
    Locked3x,
    /// 4x votes, locked for 8x...
    Locked4x,
    /// 5x votes, locked for 16x...
    Locked5x,
    /// 6x votes, locked for 32x...
    Locked6x,
}
lsaether commented 5 years ago

I generally don't always agree with the sentiment that "Code is Law." However, whatever is implemented in code is how it works today; without evidence that there is any work intending to change this (such as an open issue or a pull request), the wiki should reflect the current functionality of the system.