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

Wpha Council #1269

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Wpha Council #1269

wants to merge 13 commits into from

Conversation

Index0011
Copy link
Contributor

This pr introduce a new council which use wpha to vote for members.
The pallet wrapped_balance implement Currency, ReserveableCurrency, LockableCurrency trait which are required to satisfying typeCurrency's trait bound in pallet_elections_phragmen::Config.
By replacing Balances to wrapped_balance, the council election can run with wpha.

pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
Copy link
Contributor Author

@Index0011 Index0011 left a comment

Choose a reason for hiding this comment

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

push comments

pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Outdated Show resolved Hide resolved
pallets/phala/src/compute/wrapped_balances.rs Show resolved Hide resolved
Index0011 and others added 3 commits June 12, 2023 16:10
Co-authored-by: h4x3rotab <h4x3rotab@gmail.com>
Co-authored-by: h4x3rotab <h4x3rotab@gmail.com>
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