Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

brooksprumo
Copy link
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
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

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 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.

2 participants