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

Add governance and staking #253

Open
wants to merge 79 commits into
base: main
Choose a base branch
from
Open

Add governance and staking #253

wants to merge 79 commits into from

Conversation

Moliholy
Copy link
Collaborator

@Moliholy Moliholy commented Dec 11, 2024

New pallets

This PR adds the following pallets:

Governance

  • Democracy
  • Preimage
  • Treasury
  • Scheduler

Staking

  • Collator Staking

It also removes the collator-selection pallet, as it has been replaced by collator-staking.

Fee management

This PR also:

  • Multiplies by 7 the current fees users have to pay for processing extrinsics.
  • Burns all fees instead of delivering them to either treasury or staking pots.

Moliholy and others added 30 commits May 13, 2024 17:05
@Moliholy Moliholy marked this pull request as ready for review January 3, 2025 10:27
niksaak
niksaak previously approved these changes Jan 8, 2025
Copy link
Collaborator

@niksaak niksaak left a comment

Choose a reason for hiding this comment

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

Approved, with some open questions.

runtime/mainnet/src/migrations.rs Show resolved Hide resolved
runtime/mainnet/src/lib.rs Show resolved Hide resolved
runtime/mainnet/src/weights/pallet_balances.rs Outdated Show resolved Hide resolved
runtime/mainnet/src/lib.rs Show resolved Hide resolved
runtime/mainnet/src/lib.rs Outdated Show resolved Hide resolved
@Moliholy
Copy link
Collaborator Author

Some updates:

  • Code updated to polkadot-stable2409.
  • Muse migration removed. Muse was already migrated, and all the changes contained in the migration have already been applied.

@Moliholy
Copy link
Collaborator Author

PR updated to the latest main branch, which implies now everything is in polkadot-stable2412.

runtime/mainnet/src/lib.rs Outdated Show resolved Hide resolved
runtime/testnet/src/lib.rs Outdated Show resolved Hide resolved
@valentinfernandez1 valentinfernandez1 self-requested a review January 24, 2025 14:43
Copy link
Collaborator

@valentinfernandez1 valentinfernandez1 left a comment

Choose a reason for hiding this comment

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

Lgtm, great work 🦾 😃

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.

3 participants