paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.92k stars 708 forks source link

[pallet-referenda] Crowd Sourced Decision Deposit #6041

Open ggwpez opened 1 month ago

ggwpez commented 1 month ago

Currently the decision deposit for a referendum must be paid in full by a single address. We should add a mechanism that allows it to be crowdsourced. @bkchr suggested that we can re-use the code of the crowdloan-pallet from the Polkadot runtime. I am not familiar with the code of tha pallet but probably needs a new pallet though to manage the deposits.

Requirement:

runcomet commented 1 month ago

Hi @ggwpez, I would like to work on this! Decision deposits could help mitigate some whale activity in OpenGov.

Assigning me would be nice if possible

ggwpez commented 1 month ago

Thanks @runcomet!

bkchr commented 1 month ago

I already have this ready in a branch 😅

bkchr commented 1 month ago

https://github.com/paritytech/polkadot-sdk/tree/bkchr-referenda-deposit-contribute this is my current work. Just misses some benchmarking improvements and more tests.