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

tests: Add integration tests for challenge deadlines changing based on capacity change #315

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

snowmead
Copy link
Contributor

@snowmead snowmead commented Jan 8, 2025

Added challenge-cycle-2.test.ts integration test in order to test the functionality when a BSP changes their capacity (deposit/stake), their current next challenge tick has not changed only after they have reached it. We then check that the next challenge tick is expected to be calculated based on the new challenge deadline.

@snowmead snowmead requested a review from ffarall January 8, 2025 17:38
Copy link
Contributor

@ffarall ffarall left a comment

Choose a reason for hiding this comment

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

Great job!

@snowmead snowmead merged commit 2b25cd1 into main Jan 9, 2025
25 checks passed
@snowmead snowmead deleted the feat/storage-capacity-change-deadline-int-test branch January 9, 2025 13:08
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