Skip to content

Commit

Permalink
Replace sleeps with wait_for_* (#634)
Browse files Browse the repository at this point in the history
* Add wait_for_l1 and wait_for_l2

* Fix lints

* Add some more waits

* Rename prover wait func

* Fix tests

* Resolve merge issues

* Fix params

* More wait for calls

* Fix import

* Updating wait functions naming
  • Loading branch information
rakanalh authored May 28, 2024
1 parent 3650b63 commit 4ee257e
Show file tree
Hide file tree
Showing 6 changed files with 253 additions and 165 deletions.
1 change: 1 addition & 0 deletions bin/citrea/tests/all_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ mod test_helpers;

const DEFAULT_MIN_SOFT_CONFIRMATIONS_PER_COMMITMENT: u64 = 1000;
const DEFAULT_DEPOSIT_MEMPOOL_FETCH_LIMIT: usize = 10;
const DEFAULT_PROOF_WAIT_DURATION: u64 = 300; // 5 minutes
Loading

0 comments on commit 4ee257e

Please sign in to comment.