We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4995cf1 commit 08860dfCopy full SHA for 08860df
1 file changed
development/qnet-integration/src/node.rs
@@ -3328,7 +3328,10 @@ impl BlockchainNode {
3328
}
3329
3330
3331
- tokio::time::sleep(Duration::from_secs(2)).await;
+ // CRITICAL FIX: Wait 5 seconds to allow Genesis block processing from P2P queue
3332
+ // Genesis broadcast takes ~1s, P2P queue processing takes ~2-3s
3333
+ // This prevents race condition where producer tries to create block #1 before Genesis is processed
3334
+ tokio::time::sleep(Duration::from_secs(5)).await;
3335
continue; // Skip this iteration
3336
3337
0 commit comments