Questions tagged [democracy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
42 views

How to Add and configure Democracy Pallet to Substrate Runtime

I've made an attempt to incorporate the "pallet-democracy" into my Substrate runtime. In the runtime/Cargo.toml file of my Substrate node template, I've added the following configuration: ...
Ariful Islam's user avatar
1 vote
1 answer
45 views

Getting schedular overweight error while doing runtime upgrade

I am trying to do a runtime upgrade through democracy referenda and the steps I performed are as follows: create pre-image. submit pre-image through democracy . endorse voting . After this I am ...
Shubham Gupta's user avatar
1 vote
1 answer
41 views

how do you cancel a parachain proposal or referendum?

what specific extrinsic(s) should be run by a technical committee member in order to initiate the cancellation procedure for a running referendum? the polkadot wiki states this is possible here: https:...
grenade's user avatar
  • 456
2 votes
0 answers
48 views

How to create a preimage which is the batch of other preimages?

I am wondering whether, and if so how, it is possible to submit a preimage which batches over other preimages, e.g. const pre1= '0x09401eb25e90bf587fbde8d2a9be8af5ac0f3187f02f4e9e9f1f178b0314ebe5'; ...
William Freudenberger's user avatar
1 vote
2 answers
83 views

how to implement voting functionality?

We wanted to survey about all the pallets that implement some sort of voting functionality (Like democracy pallet). In our use case, an authorzed user will float a suggestion and Eligible voters will ...
Syed Kamran's user avatar
2 votes
1 answer
53 views

Help configuring the democracy pallet and referenda proposal

This is regarding the democracy pallet and referenda proposal: When submitting the proposal, a deposit needs to be defined where the MinimumDeposit config can be used to set the minimum amount to be ...
Josh's user avatar
  • 415
2 votes
2 answers
28 views

What is simplest way to get native holders distribution?

I want to setup some democracy on one chain. Democracy is voting with tokens. So it is important to know if tokens distributed well enough. I looked into some tools and indexers, none provided such ...
Dzmitry Lahoda's user avatar
1 vote
1 answer
46 views

What root dispatches are absolutely necessary to run a parachain?

I am currently developing an alternative to Sudo and Democracy. I wish to have a sudo key account, which is allowed to upgrade the chain, but only after a three month review period, the upgrade can ...
Chralt's user avatar
  • 503
0 votes
1 answer
16 views

How to force runtime upgrades only after an enactment period of three months with the sudo pallet?

I would like to use the sudo pallet instead of the democracy pallet. Now I would like to force the sudo user to wait three months until a runtime upgrade can be applied. So, that there is no way to ...
Chralt's user avatar
  • 503
1 vote
1 answer
40 views

Runtime upgrades: parachainSystem.enactAuthorizedUpgrade via referendum fails with `parachainSystem.ValidationDataNotAvailable`

We can successfully upgrade both locally running and Rococo parachains with Sudo, but when I try upgrading a local parachain using the referenda system, it fails. I am submitting these extrinsics as ...
Shannon Wells's user avatar
3 votes
1 answer
39 views

FastTrack proposal execution fails with "ProposalMissing" but is stored in democracy.publicProps

I am trying to test Fast Track of proposals via PolkadotJS dashboard, but I'm running into an error I can't explain. Note this is on a local relay chain where we have set up various members of Alice.....
Shannon Wells's user avatar
1 vote
1 answer
65 views

How does nested/multi-level delegation work?

From my understanding after reading the code, I think nested/multi-level doesn't work. Assuming we only use x1 conviction, given 3 accounts: A, B and C, A delegate to B, and B delegate to C. My ...
Leo's user avatar
  • 67
1 vote
1 answer
58 views

How to make a main net parachain upgrade through democracy?

I have made successful runtime upgrades through the sudo pallet prior to this, but after trying to do it through referendum using the democracy pallet there was an error. What are the step to make a ...
Decentration's user avatar
  • 1,356
1 vote
1 answer
95 views

Democracy proposal not enacted

First of all I am working on Polkadot-v0.9.29. I am struggling to understand the right way to format a pallet call before submitting it as a proposal to the democracy pallet. Let's the pallet call be ...
Kazunobu Ndong's user avatar
1 vote
1 answer
40 views

Assets pallet token and democracy pallet

Is it possible to use a custom_token created with the assets_pallet in the democracy_pallet instead of the native_token? EXPLANATION When voting during a referendum, I would like the balance parameter ...
Kazunobu Ndong's user avatar
2 votes
1 answer
61 views

Is InstantAllowed true required to fastTrack referendum?

I am trying to fast track a referendum but the runtime has InstantAllowed set to false. When i try to execute the extrinsic I get a democracy.InstantNotAllowed error. Also, the votingPeriod and Delay ...
Decentration's user avatar
  • 1,356
1 vote
0 answers
28 views

Should delegations propagate from one account to another? [closed]

Let's say Account A delegates to Account B and then Account B delegates to Account C. If Account C votes, Account B's vote is included, but not Account A's. And Account B or Account A cannot vote ...
michalis's user avatar
3 votes
0 answers
30 views

Circular delegation

There seems to have been 2 wallets delegating to one another at one point on the Kusama chain. How is this possible? I am retrieving all nested delegations and this is giving me an infinite loop in my ...
Gustav Schmidt's user avatar
0 votes
1 answer
27 views

if substrate features capabilities to proxy votes to the council?

recently I developed an extrinsic to proxy the votes accumulated from our on-chain service to referendums with the function VoteSplit in pallet democracy. But I'm wondering if substrate features ...
Mingxuan Yu's user avatar
1 vote
2 answers
170 views

Delegating and undelegating during the lock period extends it for the initial amount

I'm trying to understand the following behaviour: A user delegates their vote (X DOT) with 1x conviction Then they change their delegation to a smaller amount (Y DOT) with the same 1x convinction ...
michalis's user avatar
2 votes
1 answer
55 views

Raw specs not building, unknown field

While building the raw specs: ./target/release/kylin-collator build-spec --chain=rococo_democracy.json --raw --disable-default-bootnode > rococo_raw_democracy.json I get 2022-07-08 16:00:00 ...
Sylvain Cormier's user avatar
1 vote
1 answer
30 views

Can't reach DemocracyConfig import

In the process of installing the democracy pallet in chain_spec.rs, I am importing like this: use pichiu_runtime::{ constants::currency::PCHU, DemocracyConfig}; } I cannot reach the imports and ...
Sylvain Cormier's user avatar
2 votes
1 answer
186 views

Getting Bad origin error in execution of the proposal?

I have integrated the democracy, collective, scheduler, and treasury pallet into my chain. Everything is working fine just during the end step when the proposal is executing it is giving me the bad ...
Pankaj's user avatar
  • 1,896
1 vote
1 answer
131 views

How to better understand permissions in the Democracy module(fastTrack)

new to substrate. here are three modules: Democracy Council, TechnicalCommittee. i did some experiments on the local testnet ,but failed. I know that the proposal under Democracy can execute sudo ...
Tbag's user avatar
  • 13