Skip to main content
1 vote

Mocking the Clock sysvar in solana_program_test

I think you're blocking the async executor with std::thread::sleep(). Try tokio::time:sleep() instead
trent.sol's user avatar
  • 4,585
1 vote

How to get logs of tx done in unit tests using programtest crate

Nvm Context is retrieved via tarpc crate
Nabeel Naveed's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible