celestiaorg / celestia-app

PoS application for the consensus portion of the Celestia network. Built using celestia-core (fork of CometBFT) and the cosmos-sdk
https://celestia.org
Apache License 2.0
328 stars 261 forks source link

Adjusting the waiting time according to the network conditions #3616

Open staheri14 opened 4 days ago

staheri14 commented 4 days ago
          If this test is to mimic network conditions, why 10 seconds instead of ~12 seconds? Celestia block times are usually like ~11.8 seconds per https://www.mintscan.io/celestia/block/

If we don't need to mimic network conditions, why not make the block time much shorter like < 1 second?

Originally posted by @rootulp in https://github.com/celestiaorg/celestia-app/issues/3610#issuecomment-2183183943

Motivated by this comment, I am going to refactor the code to parameterize the sync time for the genesis nodes.