Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
refactor: Move onto same line
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfschoen committed Apr 17, 2019
1 parent cd7e755 commit 874c982
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions srml/council/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
//! * **Council proposal vote storage** A council proposal vote that occurs after council proposal creation is stored as follows:
//! * `ProposalVoters` storage vector (containing account ids that have voted for the proposal's hash) is updated with the councillor's new vote.
//! * Councillor's vote storage tuple `CouncilVoteOf` is updated with a mapping between a tuple containing the proposal's hash, the councillor's account id, and their new vote.
//! * `Voting` storage mapping is updated with the councillor's vote.
//! * Note that `Voting` maps the proposal's hash to a tuple containing the corresponding proposal's index, vote threshold, and vectors containing both yay and nay voter account ids.
//! * `Voting` storage mapping is updated with the councillor's vote. Note that `Voting` maps the proposal's hash to a tuple containing the corresponding proposal's index, vote threshold, and vectors containing both yay and nay voter account ids.
//! * **Council proposal voting rules** Duplicate votes from the same councillor are ignored. Councillors may swap their vote from yay to nay and vice versa.
//! * **Council proposal vote threshold** A council proposal that is created with a threshold level of one is voted upon and approved by the councillor that created it, and then executed. Whereas a council proposal with a threshold level of more than one is added to the `Voting` storage mapping.
//! * **Council proposal voting veto rules** A councillor may veto a proposal if it's stored in the `ProposalVoters` mapping, on condition that they have not vetoed it previously. Once a councillor vetoes a council proposal they cannot propose the proposal again until after a cooling off period that's measured in blocks.
Expand Down

0 comments on commit 874c982

Please sign in to comment.