Skip to content

Conversation

Copy link

Copilot AI commented Jan 25, 2026

Forester compressible ctoken tests were failing with airdrop rate limit errors after a previous commit removed sleep statements.

Changes

  • Added 3-second sleep before payer airdrops in test_compressible_ctoken_compression and test_compressible_ctoken_bootstrap
let payer = rpc.get_payer().insecure_clone();
// Sleep to avoid airdrop rate limit
sleep(Duration::from_secs(3)).await;
rpc.airdrop_lamports(&payer.pubkey(), 10_000_000_000)
    .await
    .expect("Failed to airdrop lamports");

The delay prevents hitting validator rate limits when funding the payer account used for compressible token configuration initialization.

Original prompt

Reference: https://github.com/Lightprotocol/light-protocol/actions/runs/21326932608/job/61385796522

Please push a fix - at the right place add a sleep for 3 second just before initing the compressible config with airdrop


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: SwenSchaeferjohann <42959314+SwenSchaeferjohann@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix add sleep before initializing compressible config Fix airdrop rate limit in compressible ctoken tests Jan 25, 2026
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