Skip to content

Conversation

@rustopian
Copy link

@rustopian rustopian commented Nov 4, 2025

Part 2 of https://github.com/orgs/solana-program/projects/8.

(diff is cumulative)

Problem

solana-program-test is on its slow way out.

Solution

Convert these tests to Mollusk, including simple but perfectly equivalent stake tracking.

This part migrates Deactivate tests and updates to full StakeLifecycle management. It does not yet add stake tracking when warping across slots; that is added in the next PR.

Included:

  • Full StakeLifecycle management
  • DelegateConfig, DeactivateConfig
  • Deactivate tests moved from program_test.rs to deactivate.rs
  • Some additional common helpers needed by the above

This does NOT migrate the tests from the newer stake_instruction.rs, which already uses Mollusk.

@rustopian rustopian force-pushed the mollusk-2-deactivate branch from 2b0562f to 14294e2 Compare November 4, 2025 11:43
@rustopian rustopian changed the title Mollusk 2/9: StakeLifecycle, Deactivate tests tests: Mollusk StakeLifecycle, Deactivate tests (2/9) Nov 14, 2025
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.

1 participant