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
1
vote
How to get logs of tx done in unit tests using programtest crate
Nvm Context is retrieved via tarpc crate
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
bankclient × 4rust × 2
program-test × 2
solana-program-test × 2
solana-program × 1
transactions × 1
testing × 1
sysvar × 1
unit-test × 1
clock × 1
getaccountinfo × 1
spl-associated-token-account × 1