13 votes
Accepted

What are the shortcomings of Polkadot's governance and what will its next iteration be?

Since the very first governance proposals were put up for discussion, the community already began thinking about alternatives and possible new designs to counteract some identified weaknesses in the ...
RTTI-5220's user avatar
  • 266
11 votes
Accepted

Democracy rework in Substrate

The overall tracking issue for "new governance" is substrate#10252. New pallets for governance primitives have been introduced in: https://github.com/paritytech/substrate/pull/10195 https://...
Gav's user avatar
  • 2,671
4 votes

How might we introduce a new host function into the Polkadot ecosystem?

There is not a concrete answer to this question since new host functions are changes in the client, which cannot be upgraded on-chain. There will be three main steps needed to get a new host function ...
Shawn Tabrizi's user avatar
  • 16k
4 votes
Accepted

How we can implement Governance in a chain?

Although your question is rather general and wouldn't usually make for a good StackExchange question, I see merit in providing a general answer that could serve as a broad entry point for others ...
Sacha Lansky's user avatar
  • 2,620
3 votes

Where can I find more information of Gov2 specifications/documentation?

Specifically about the Polkadot Fellowship, which makes up a large part of it, you can take a look at the manifesto: https://github.com/polkadot-fellows/manifesto/blob/main/manifesto.pdf
Oliver Tale-Yazdi's user avatar
3 votes

How we can implement Governance in a chain?

You have to implement the pallet democracy pallet democracy , you can follow how it is implemented in the dev node,the github repository is a good start . You will also need to implement the ...
Dubs's user avatar
  • 294
3 votes

Once the referendum is over, can the democratic proposals passed be implemented directly?

By submitting it as an external motion in Council: if the proposal originates in Council as an external motion and the Technical Committee fast-tracks the proposal to move it to referenda queue, they ...
RTTI-5220's user avatar
  • 266
3 votes
Accepted

Why does referendum on a local chain always fail in execution with BadOrigin?

When a Democracy proposal executes, it dispatches the call using the Root origin: let res = proposal .dispatch(frame_system::RawOrigin::Root.into()) .map(|_| ()) .map_err(|e| e.error); ...
Shawn Tabrizi's user avatar
  • 16k
3 votes

How Polkadot transition Sudo into On chain governance?

One of the key features that Substrate is build around is the ability to perform runtime upgrades. This feature allows for the logic of a blockchain to change over time. Polkadot and Kusama both used ...
Nuke's user avatar
  • 1,832
2 votes

Using fungible Statemine assets with governance

What is the best design to reuse governance pallets (e.g. treasury, council, Gov2) with non-L1 tokens? You'll want to look at the pub trait Config { type Currency } for each of the pallets you are ...
joepetrowski's user avatar
  • 2,945
2 votes
Accepted

Getting Bad origin error in execution of the proposal?

As Shawn suggested, for proposals that do transfers, you would need to use forceTransfer which executes from the root origin. (The normal transfer operates from the signer account and is not meant for ...
Werner S's user avatar
  • 629
2 votes

Where can I find more information of Gov2 specifications/documentation?

I suggest you take a look at this PR adding Gov v2 on Kusama. It might also be worthwhile checking out the ranked_collective pallet, which seems crucial for the new governance model.
Adam Wierzbicki's user avatar
2 votes
Accepted

How to get circulating supply / 'electorate' from API

Vote Threshold Let's take a look at the calculation/formula first. There are 3 kinds of VoteThreshold, so the first thing you need to figure out is the voting type. Bake Referendum Then, the ...
AurevoirXavier's user avatar
2 votes
Accepted

Governance of one Solochain by Another using XCM and Trustless Bridge?

Yes, you can do this. Actually the system parachains on Polkadot already do allow governance from another chain: the Relay Chain. To separate things, XCM is a messaging format, and a bridge is a ...
joepetrowski's user avatar
  • 2,945
2 votes
Accepted

How to split the overall transaction fees associated with an on-chain proposal that passes amongst its creator and voters?

pallet_collective allows to execute certain calls based on membership: https://github.com/paritytech/substrate/blob/21d58f6f7b3ed2ea529f3c118b2e042b29551672/frame/collective/src/lib.rs#L450 You can ...
German Nikolishin's user avatar
2 votes

Which event or index should I listen in order to get a new referenda in "started" (open to vote) status?

With PolkadotJS you can be listening the events as it is explained here in the docs: const { ApiPromise, WsProvider } = require('@polkadot/api'); async function main () { const wsProvider = new ...
Alex Bean's user avatar
  • 5,702
2 votes

What is the process for upgrading governance from v1 to v2?

Very interesting question to have documented here: Which old pallets will be removed from the runtime? phragmen_election democracy council technical_committee technical_membership pallet_tips What ...
Alex Bean's user avatar
  • 5,702
2 votes
Accepted

Council and Technical committee accounts disappeared after runtime update

You missed this one. https://github.com/paritytech/substrate/pull/9115 Please check the v0.9.10...v0.9.11 carefully. You could click the file changes and search frame/collective.
AurevoirXavier's user avatar
1 vote

Opening HRMP Channel from AssetHub to Parachain using only paraId

From my understanding they will need to use force_open_hrmp_channel any way, because they want to open a channel to a system chain. Looking over the code, I don't see any requirement for the parachain ...
bkchr's user avatar
  • 11.1k
1 vote

Where can I find more information of Gov2 specifications/documentation?

Perhaps overly complex, but until a nicely formatted page is available you can see this file here for the current parameters Kusama has been configured with: https://github.com/paritytech/polkadot/...
Tim B's user avatar
  • 36
1 vote

Implementing Stacking and Creating a Council in a Local Testnet

If you're speaking of Relay chain staking like Polkadot then you will need the staking pallet. There is a guide on how to use pallet staking here. If you're looking to have the substrate-node-template ...
Bruno's user avatar
  • 8,345
1 vote
Accepted

how do you cancel a parachain proposal or referendum?

Proposals are done though the Democracy Pallet. The pallet has an extrinsic called emergency_cancel that can only be called by the Cancellation Origin Here's a quote from the democracy pallet docs //! ...
Valentin Fernandez's user avatar
1 vote
Accepted

Is it possible to add council support and initial members during a runtime upgrade?

This could be achieved by a storage migration (read the linked docs page for details).
Adam Wierzbicki's user avatar
1 vote

On abstain votes

Here's a moonbeam post about Open Gov where the approval process for a proposal is better explained. The key take away from this post is that in order for a proposal to pass it must meet a certain ...
Valentin Fernandez's user avatar
1 vote

Governance Proxy vs Delegating Voting

If an account sets a governance proxy, it basically allows the proxy to submit transactions related to any governance related pallet. These are Democracy, Council, Technical Committee, Phragmen ...
Iker's user avatar
  • 1,321
1 vote

How the democratic voting system in the document is decided?

tl;dr: the default for public proposal is positive turnout bias. If you submit a public proposal to democracy module (as you show in the screenshot above), once it is up for vote, it will be tallied ...
RTTI-5220's user avatar
  • 266

Only top scored, non community-wiki answers of a minimum length are eligible