Skip to content

[WIP] Staking with validator self stake incentive#11577

Closed
Ank4n wants to merge 4 commits intomasterfrom
ankn-staking-budget-split-integration
Closed

[WIP] Staking with validator self stake incentive#11577
Ank4n wants to merge 4 commits intomasterfrom
ankn-staking-budget-split-integration

Conversation

@Ank4n
Copy link
Copy Markdown
Contributor

@Ank4n Ank4n commented Mar 31, 2026

Not to be merged!

This will be force-pushed to #10844 once the following are merged to master

TODO

  • use start_at of vesting to set a time in past.
  • enable dap budget try state check

@Ank4n Ank4n requested a review from a team as a code owner March 31, 2026 11:40
@Ank4n Ank4n changed the base branch from master to ankn-staking-integration-base March 31, 2026 11:48
Comment thread substrate/frame/dap/src/lib.rs Outdated
/// Collects any burn source wired to it (staking slashes, unclaimed rewards, etc.)
/// and its explicit budget allocation share.
pub(crate) fn buffer_account() -> T::AccountId {
pub fn buffer_account() -> T::AccountId {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

revert

page_stake_part.mul_floor(reward_split.validator_payout);

// Separately pay validator incentive bonus from validator incentive pot
let _validator_incentive_paid =
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

check: should emit event here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

also, maybe refactor to make it clear there are two payments here.

Comment thread substrate/frame/staking-async/src/pallet/impls.rs Outdated
@Ank4n Ank4n force-pushed the ankn-staking-budget-split-integration branch from 61783c7 to b97174a Compare April 1, 2026 04:43
@Ank4n Ank4n requested review from a team as code owners April 1, 2026 04:43
@Ank4n Ank4n changed the base branch from ankn-staking-integration-base to master April 1, 2026 04:44
@Ank4n Ank4n closed this Apr 1, 2026
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.

1 participant