Gonçalo Pestana
Gonçalo Pestana
As a follow up from the Kusama incident and our previous discussions, this PR fixes the knee jerk reaction of EPM to transition to the emergency phase. There were 2...
This PR creates an integration test crate for EPM and staking that is intended to test as accurately as possible protocol edge cases and critical states. Another goal of the...
This PR refactors the current `elections-phragmen` pallet to use an [`NposSolver`](https://paritytech.github.io/substrate/master/frame_election_provider_support/trait.NposSolver.html) instead of hardcoding one flavor of phragmen. In addition, it implements an [approval voting](https://en.wikipedia.org/wiki/Approval_voting) election scheme where each voter...
Currently, there are a few staking related runtime APIs exposed by the clients (e.g. https://github.com/paritytech/substrate/pull/13119). However, the current runtime APIs are i) not exhaustive and ii) not general/unified. We should...
This PR refactors the implementation of the `ElectionDataProvider` bounds and implements a dynamic nomination quota per voter, based on the account's balance and an arbitrary curve. Instead of a fixed...
https://github.com/paritytech/substrate/pull/13040
Companion for https://github.com/paritytech/substrate/pull/12970
Companion for https://github.com/paritytech/substrate/pull/13453 Cumulus companion: https://github.com/paritytech/cumulus/pull/2217
This PR adds the stake-tracker pallet without integrating it with the staking and bags lists pallets. The stake-tracker pallet implements the `OnStakingUpdate` trait to listen to staking events and multiplexes...
This PR refactors the staking ledger logic to encapsulate all reads and mutations of `Ledger`, `Bonded`, `Payee` and stake locks within the `StakingLedger` struct implementation. With these changes, all the...