Questions tagged [pallet-collective]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

Cycle detected when computing layout of `RuntimeCall`

My pallet is using the following frame pallets: Democracy, Utility & Collective. The error I get is: cycle used when elaborating drops for `<impl at /home/kazu/Polkadot/fair-squares/runtime/src/...
Kazunobu Ndong's user avatar
1 vote
1 answer
15 views

How to call with `pallet_collective::RawOrigin` within another pallet's benchmarks

I'm struggling to benchmark my extrinsics that are called by the pallet_collective::RawOrigin. I found this answer that got me close: let origin: <T as frame_system::Config>::RuntimeOrigin = ...
Daan van der Plas's user avatar
2 votes
1 answer
24 views

What is lengthBound for pallet collective proposal?

Trying to play around with pallet-collective and I see this : I have no clue what to set as a lengthBound: Compact<u32>. Bonus question: Why do proposers need to specify a lengthbound in the ...
b0zero's user avatar
  • 502
2 votes
1 answer
33 views

the trait bound `RuntimeOrigin: From<pallet_collective::RawOrigin<AccountId32, Instance2>>` is not satisfied

This is my github repo here. I am getting this issue. I try to look how pallet_collective implemented in substrate main branch runtime here but I can't able to find any solution. Someone please help ...
Ganesh11's user avatar
  • 1,168
2 votes
0 answers
43 views

Created technical committee Rogan Council does not appear in PolkadotJS app's Governance tab and unable to create a motion

I have the following Subtrate runtime configuration #![cfg_attr(not(feature = "std"), no_std)] // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256. #!...
not 0x12's user avatar
  • 343
1 vote
1 answer
30 views

How to configure collective pallet with a Proof of authority chain with scheduler and preimage pallet

Code parameter_types! { pub const CouncilMotionDuration: BlockNumber = 3 * MINUTES; pub const CouncilMaxProposals: u32 = 100; pub const CouncilMaxMembers: u32 = 100; } type ...
not 0x12's user avatar
  • 343
1 vote
1 answer
87 views

EnsureMember in pallet-collective

I'm getting issue when implementing EnsureMember of pallet-collective. I have implemented pallet-collective like this: parameter_types! { pub const TechnicalMotionDuration: BlockNumber = 5 * DAYS; ...
Huy Duan Tran's user avatar
1 vote
1 answer
45 views

What is the use case of the `execute` extrinsic inside the collective pallet?

IIUC the execute extrinsic allows a member of the collective to execute a call with the Member origin, but at that point why wouldn't the caller directly execute the call? I couldn't find any use ...
Szegoo's user avatar
  • 563
0 votes
1 answer
34 views

How to call methods on Collective pallet from a custom pallet?

I need to call methods in the Collective pallet to: get a list of council members create a new Proposal propose the proposal BUT from my custom pallet. /// Function in my custom pallet #[pallet::...
Robert La Ferla's user avatar
1 vote
1 answer
40 views

How to configure genesis_config for pre defined functional pallets?

Substrate has provided some pre-defined functional pallets. We need to configure these pallet in our custom runtime in order to use them. Some of these pallets like pallet_treasury, pallet_collective ...
Syed Kamran's user avatar
0 votes
0 answers
41 views

Handling Democracy proposal execution

According to this answer, if I understood correctly, there are 2 ways to handle proposal execution when using the democracy pallet: through pallet-collective, or pallet-pre-image. I am trying to do ...
Kazunobu Ndong's user avatar
0 votes
1 answer
52 views

Storage level Origin

We have a DAO factory, and the whole idea is to create councils dynamically on the pallet level. The best would be using the native approach of the council origin but having the possibility to change ...
vovacha's user avatar
  • 148
6 votes
1 answer
55 views

Use of ProposalIndex in pallet-collective

What is the use of ProposalIndex in pallet-collective? However, we also have proposal_hash for identifying the proposal.
Deepak Chaudhary's user avatar
3 votes
1 answer
93 views

How do collective origins work?

I am trying to learn how to use the collective module and started my chain using just 1 council member. Then I create a proposal for some function like set_balance, and execute it with a threshold of ...
Purple_Turtle's user avatar
4 votes
1 answer
61 views

What is the semantic difference between TechnicalCommittee and Council in kusama/polkadot?

construct_runtime! { Council: pallet_collective::<Instance1>::{Pallet, Call, Storage, Origin<T>, Event<T>, Config<T>}, TechnicalCommittee: pallet_collective::<...
Purple_Turtle's user avatar