* stake: Remove v2 program references (#19308)
* stake: Remove v2 program references
* Remove stake v2 feature, along with stake rewrite
(cherry picked from commit 73aa004c59
)
# Conflicts:
# runtime/src/bank.rs
* Fix merge conflict
* Fix uses of old `stake` function
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
This commit is contained in:
@@ -277,7 +277,7 @@ async fn stake_rewards_from_warp() {
|
||||
assert_matches!(
|
||||
stake
|
||||
.delegation
|
||||
.stake_activating_and_deactivating(clock.epoch, Some(&stake_history), true,),
|
||||
.stake_activating_and_deactivating(clock.epoch, Some(&stake_history)),
|
||||
(_, 0, 0)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user