-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fix nomination pools pending rewards RPC #12095
Conversation
cc @Szegoo lesson learned the hard way, my suggestion about how to do this in the original PR was wrong, and I didn't ask for a test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test looks good, payouts are distributed proportionally to the join bond of each member at the correct stages.
None
is yielded when member is not a member of the pool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I will immediately diener build Kusama and try it 😆
I somehow dont see the new function in the results of rpc_methods
...
I believe that is because this isn't actually a custom RPC, you should be able to use |
bot merge |
Error: "Check reviews" status is not passing for paritytech/polkadot#5924 |
bot merge |
#### Intro Upgrade polkadot from v0.9.27 to v0.9.30 as a checkpoint, then to v0.9.33 (latest version without workspace dependencies) Require ComposableFi/composable-ibc#176 to be merged first. #### Migrations - v0.9.28 - [x] paritytech/polkadot#5582 - Nomination not present in our runtimes - v0.9.29 - [x] paritytech/substrate#12095 - Nomination not present in our runtimes - v0.9.30 - [x] paritytech/substrate#12034 - BagList/Staking not present in our runtimes - [x] paritytech/polkadot#5930 - Nomination/BagList/Staking not present in our runtimes - [x] paritytech/substrate#12230 - Staking not present in our runtimes - [x] paritytech/polkadot#5996 - Staking not present in our runtimes - [x] paritytech/substrate#12083 - Contracts not present in our runtimes Signed-off-by: cor <[email protected]> Co-authored-by: cor <[email protected]>
* Fix nomination pools pending rewards RPC * Fix node * Update frame/nomination-pools/src/lib.rs * Fix docs
Unfortunately, the RPC added in #11831 had a small bug. This fixes it.
Polkadot companion: paritytech/polkadot#5924