Skip to content

v4.4: vote-program: Disable DepositDelegatorRewards (backport of #15795) - #15812

Merged
joncinque merged 2 commits into
v4.4from
mergify/bp/v4.4/pr-15795
Oct 7, 2026
Merged

joncinque merged 2 commits into
v4.4from
mergify/bp/v4.4/pr-15795

Conversation

@mergify

@mergify mergify Bot commented Oct 6, 2026

Copy link
Copy Markdown

Problem

The DepositDelegatorRewards instruction in its current form has issues, as outlined in this SIMD Discussion.

Summary of changes

Return an error from the instruction processor.

Also, rekey SIMD-0123, since the behavior under its feature gate is changing.

Testing

New test to make sure error is always returned.


This is an automatic backport of pull request #15795 done by Mergify.

#### Problem

The `DepositDelegatorRewards` instruction in its current form has
issues, as outlined in this [SIMD
Discussion](https://github.com/solana-foundation/solana-improvement-documents/discussions/686).

#### Summary of changes

Return an error from the instruction processor.

Also, rekey SIMD-0123, since the behavior under its feature gate is
changing.

#### Testing

New test to make sure error is always returned.

(cherry picked from commit 70cbde8)

# Conflicts:
#	runtime/src/bank/tests.rs
@mergify mergify Bot added the conflicts label Oct 6, 2026
@mergify
mergify Bot requested a review from a team as a code owner October 6, 2026 09:55
@mergify mergify Bot added the conflicts label Oct 6, 2026
@mergify

mergify Bot commented Oct 6, 2026

Copy link
Copy Markdown
Author

Cherry-pick of 70cbde8 has failed:

On branch mergify/bp/v4.4/pr-15795
Your branch is up to date with 'origin/v4.4'.

You are currently cherry-picking commit 70cbde8.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   feature-set/src/lib.rs
	modified:   programs/vote/src/vote_processor.rs

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   runtime/src/bank/tests.rs

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify

mergify Bot commented Oct 6, 2026

Copy link
Copy Markdown
Author

The Firedancer team maintains a line-for-line reimplementation of the
native programs, and until native programs are moved to BPF, those
implementations must exactly match their Agave counterparts.
If this PR represents a change to a native program implementation (not
tests), please include a reviewer from the Firedancer team. And please
keep refactors to a minimum.

@joncinque
joncinque requested a review from buffalojoec October 6, 2026 10:16
@codecov-commenter

codecov-commenter commented Oct 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.4%. Comparing base (57a3591) to head (237e772).

Additional details and impacted files
@@            Coverage Diff            @@
##             v4.4   #15812     +/-   ##
=========================================
- Coverage    82.5%    82.4%   -0.1%     
=========================================
  Files         933      933             
  Lines      371825   371858     +33     
=========================================
- Hits       306821   306532    -289     
- Misses      65004    65326    +322     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joncinque
joncinque merged commit 63e3388 into v4.4 Oct 7, 2026
48 checks passed
@joncinque
joncinque deleted the mergify/bp/v4.4/pr-15795 branch October 7, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants