From cf7bd8a6cd191f26fe66590aef0e295f4a8aadf0 Mon Sep 17 00:00:00 2001 From: Gav <gavin@parity.io> Date: Sun, 21 Jan 2018 23:00:36 +0100 Subject: [PATCH] Docs. --- substrate/wasm-runtime/polkadot/src/runtime/governance.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/substrate/wasm-runtime/polkadot/src/runtime/governance.rs b/substrate/wasm-runtime/polkadot/src/runtime/governance.rs index 43a636f489c..d7d45fb0d07 100644 --- a/substrate/wasm-runtime/polkadot/src/runtime/governance.rs +++ b/substrate/wasm-runtime/polkadot/src/runtime/governance.rs @@ -19,10 +19,11 @@ //! //! For now this is limited to a simple qualified majority vote (whose parameter is retrieved from //! storage) between validators. A single vote may be proposed per era, and at most one approval -//! vote may be cast by each validator. The tally is maintained -//! -//! +//! vote may be cast by each validator. The tally is maintained through a simple tag in storage for +//! each validator that has approved. //! +//! At the end of the era, all validators approvals are tallied and if there are sufficient to pass +//! the proposal then it is enacted. All items in storage concerning the proposal are reset. use runtime_support::Vec; use keyedvec::KeyedVec; -- GitLab