paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

Introduce `Payees` and `PayoutDestination` with `Split` variant #14451

Open rossbulat opened 1 year ago

rossbulat commented 1 year ago

Tracking issue: https://github.com/paritytech/polkadot-sdk/issues/410 Polkadot companion: https://github.com/paritytech/polkadot/pull/7425

This PR is part 1 of a lazy migration to update reward destinations, which removes Controller, refactors RewardDestination into a new PayoutDestination enum, and adds an additional Split enum for the ability to compound a part of rewards and have the rest as free balance.

rossbulat commented 1 year ago

bot help

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_staking

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_staking

rossbulat commented 1 year ago

bot clean

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_staking

command-bot[bot] commented 1 year ago

@rossbulat https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3066318 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 26-5ac9ec4e-a310-4a5f-9d84-6e7fed12fe9e to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3066318 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3066318/artifacts/download.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Branch is already up-to-date

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_staking

command-bot[bot] commented 1 year ago

@rossbulat https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3076574 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 1-e2670b82-fa1e-4d42-afa9-6536221d5cbd to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3076574 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3076574/artifacts/download.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_staking

command-bot[bot] commented 1 year ago

@rossbulat https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3076884 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 2-96182715-da03-4f82-96c4-d512f894a727 to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3076884 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3076884/artifacts/download.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

Polkadot-Forum commented 1 year ago

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/revision-of-rewarddestination-to-account-for-split-and-controller-removal/3360/1

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_staking

command-bot[bot] commented 1 year ago

@rossbulat https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3198751 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 7-68a9790e-3167-49ef-9b35-31b5d6692a3f to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3198751 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3198751/artifacts/download.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_staking

command-bot[bot] commented 1 year ago

@rossbulat https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3232977 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 1-db0ebbd2-5ccf-40a7-a0f7-ee376ee07dcd to cancel this command or bot cancel to cancel all commands in this pull request.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_staking has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3232977 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3232977/artifacts/download.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Branch is already up-to-date

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased