Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Test stake split: destination delegation is at least the minimum#23456

Merged
brooksprumo merged 1 commit intosolana-labs:masterfrom
brooksprumo:minimum-stake/test-split-destination-delegation-at-least-minimum
Mar 2, 2022
Merged

Test stake split: destination delegation is at least the minimum#23456
brooksprumo merged 1 commit intosolana-labs:masterfrom
brooksprumo:minimum-stake/test-split-destination-delegation-at-least-minimum

Conversation

@brooksprumo
Copy link
Copy Markdown
Contributor

@brooksprumo brooksprumo commented Mar 2, 2022

Problem

There is a test gap in case the minimum stake delegation is raised, to ensure that the destination stake delegation ends up being at least the minimum.

Thanks to @joncinque for identifying this potential issue here: #22663 (comment)

Summary of Changes

Update test to ensure the destination stake delegation is at least the minimum stake delegation after splitting.

Ran this locally after increasing MINIMUM_STAKE_DELEGATION and confirmed that the tests fail as expected. Fixing the future test failures is being tracked in #23458.

Miscellaneous

This is PR number 23456!

Copy link
Copy Markdown
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

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

23456! 🤩

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 2, 2022

Codecov Report

Merging #23456 (b98c64d) into master (eff085f) will increase coverage by 0.0%.
The diff coverage is 89.7%.

@@           Coverage Diff            @@
##           master   #23456    +/-   ##
========================================
  Coverage    81.3%    81.3%            
========================================
  Files         572      572            
  Lines      155876   156099   +223     
========================================
+ Hits       126815   127040   +225     
+ Misses      29061    29059     -2     

@brooksprumo brooksprumo merged commit e87b941 into solana-labs:master Mar 2, 2022
@brooksprumo brooksprumo deleted the minimum-stake/test-split-destination-delegation-at-least-minimum branch March 2, 2022 23:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants