Skip to main content

Questions tagged [pallet-collective]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
59 views

Wrong Proposal Weight in collective pallet tests

I have a pallet using the propose extrinsic of the collective pallet. one of the parameter of this extrinsic is length_bound which I define as follows: let proposal_len:u32 = proposal.using_encoded(|p|...
Kazunobu Ndong's user avatar
1 vote
0 answers
35 views

Testing & pallet_collective

I have a pallet that is using the pallet_collective to trigger votes for roles affectations requests. everything works fine in the polkadot.js interface, but testing is not going as expected. in the ...
Kazunobu Ndong's user avatar
2 votes
1 answer
30 views

Dynamic Collectives

In substrate all the existing frames assume a "static" set of Collectives, defined at runtime and with direct management of members using membership frame. Does anyone have or know of a good ...
Jake Thompson's user avatar
1 vote
1 answer
85 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
20 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
44 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
  • 533
2 votes
1 answer
50 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,241
2 votes
0 answers
63 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. #!...
Kalanamith's user avatar
1 vote
1 answer
38 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 ...
Kalanamith's user avatar
1 vote
1 answer
96 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
52 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
  • 657
1 vote
1 answer
54 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
57 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
1 answer
57 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
60 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
115 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
65 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