Skip to main content

Questions tagged [democracy]

The tag has no usage guidance.

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

Is it possible to allow vesting balances to participant in staking and/or democracy

Is there any prior work on allowing vesting accounts to participate in staking/democracy pallets? To be clear, I would like to use a locked balance from the vesting pallet to vote/stake.
Drew Stone's user avatar
  • 1,194
0 votes
0 answers
19 views

Referenda function call after passsing

I want to pass a proposal then have it called once passed after x blocks I set it up like this: pub struct TracksInfo; impl pallet_referenda::TracksInfo<Balance, BlockNumber> for TracksInfo { ...
bobby dy's user avatar
0 votes
0 answers
18 views

Democracy pallet vs referenda pallet for calling a "private" function

I'm trying to figure out the best route to take to accomplish calling specific functions that are not publicly available for accounts to freely call I have a few functions I want only to be called by ...
bobby dy's user avatar
0 votes
0 answers
8 views

Delegations are not Accounted for Abstains

I wanted to confirm a scenario as it was brought up by a community member and my Rust reading skills are not great haha. So let's say there is a Vote in which the tally is: Aye: 10 Nay: 5 Support: 10 ...
AlbertoV19's user avatar
1 vote
1 answer
75 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
49 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
53 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
  • 486
2 votes
0 answers
59 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
118 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
61 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
  • 425
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
53 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
  • 543
0 votes
1 answer
17 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
  • 543
1 vote
1 answer
61 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
47 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
77 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
65 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 ...
Ramsey - Decentration's user avatar
1 vote
1 answer
106 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
43 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
66 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 ...
Ramsey - Decentration's user avatar
1 vote
0 answers
29 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
  • 101
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
29 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
199 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
  • 101
2 votes
1 answer
85 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
204 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
  • 2,021
1 vote
1 answer
137 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