Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ab/democracy bots #370

Merged
merged 9 commits into from
Jun 26, 2024
Merged

Ab/democracy bots #370

merged 9 commits into from
Jun 26, 2024

Conversation

brenzi
Copy link
Member

@brenzi brenzi commented Jun 22, 2024

extending the bot-community.py script to test democracy too:

for each cycle, do

  1. submit a new proposal
  2. pick a target approval
  3. vote with full turnout
  4. update proposals whenever

also

  • new cli command export-secret <ACCOUNT>

the first two cycles will not work because the reputation isn't old enough. ignore

@brenzi brenzi requested a review from clangenb June 22, 2024 14:31
Copy link
Member

@clangenb clangenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I like the implementation for achieving the random target approval rate!

@brenzi brenzi merged commit 864f1ce into master Jun 26, 2024
13 checks passed
fellowship-merge-bot bot pushed a commit to polkadot-fellows/runtimes that referenced this pull request Sep 26, 2024
Over the past few months, Encointer has developed a democracy pallet
with one-person-one-vote governance for local communities. We think
we're ready to experiment with our real communities on mainnet.

The governance scope of local democracy is restricted to 

* properties of the local community itself (like amount of [basic
community-issued income](https://book.encointer.org/economics-ubi.html))
* spending of its own treasury funds (currently restricted to KSM). see
[towards
sustainability](https://forum.polkadot.network/t/towards-encointer-self-sustainability/4195)
* petitions (`system.remark`)

Therefore, no special `Origin` is granted which could affect the KSM
token or other parts of Kusama.

In contrast to token voting on *OpenGov*, Encointer democracy aims at
**one-person-one-vote**, enabled by its sybil-resilient
proof-of-personhood protocol. In practice, it will be
one-cycle-attendance-one-vote, which is a pretty decent approximation
with some additional weight given to those who participate in the
protocol more actively

Relevant pallet code
* https://github.com/encointer/pallets/tree/master/democracy
* work partially funded by a [w3f
grant](https://grants.web3.foundation/applications/democratic-governance-1)
* https://github.com/encointer/pallets/tree/master/treasuries / [initial
MVP PR](encointer/pallets#401)

Design documents:
* https://book.encointer.org/protocol-democracy.html
* initial forum post introducing the design:
https://forum.polkadot.network/t/encointers-grassroots-democracy-prototype/9009

Testing on Testnet Gesell
* https://book.encointer.org/tutorials-democracy.html
* https://book.encointer.org/tutorials-treasuries.html

Testing with bot communities (check CI logs)
* encointer/encointer-node#370
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants