Skip to content

Commit

Permalink
Update citrea e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
ercecan committed Dec 20, 2024
1 parent 6dbcc54 commit 3347873
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/citrea/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ rustc_version_runtime = { workspace = true }
# bitcoin-e2e dependencies
bitcoin.workspace = true
bitcoincore-rpc.workspace = true
citrea-e2e = { git = "https://github.com/chainwayxyz/citrea-e2e", rev = "a4407ce0c611ed581db7e467bea3a699f43f5ce1" }
citrea-e2e = { git = "https://github.com/chainwayxyz/citrea-e2e", rev = "e4d54ce012bda35e6407417cc915195ea3b41ab2" }

[features]
default = [] # Deviate from convention by making the "native" feature active by default. This aligns with how this package is meant to be used (as a binary first, library second).
Expand Down
2 changes: 1 addition & 1 deletion bin/citrea/tests/bitcoin_e2e/prover_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl TestCase for SkipPreprovenCommitmentsTest {
let proofs = full_node
.wait_for_zkproofs(
finalized_height + FINALITY_DEPTH,
Some(Duration::from_secs(120)),
Some(Duration::from_secs(480)),
)
.await
.unwrap();
Expand Down
8 changes: 5 additions & 3 deletions bin/citrea/tests/bitcoin_e2e/sequencer_commitments.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use std::time::Duration;

use async_trait::async_trait;
use bitcoin::hashes::Hash;
use bitcoin_da::service::{get_relevant_blobs_from_txs, FINALITY_DEPTH};
Expand Down Expand Up @@ -195,7 +197,7 @@ impl TestCase for SequencerSendCommitmentsToDaTest {
.await?;

da.generate(FINALITY_DEPTH, None).await?;
tokio::time::sleep(std::time::Duration::from_millis(1000)).await;
tokio::time::sleep(std::time::Duration::from_secs(30)).await;

let finalized_height = da.get_finalized_height().await?;

Expand All @@ -218,7 +220,7 @@ impl TestCase for SequencerSendCommitmentsToDaTest {
sequencer
.wait_for_l2_height(
min_soft_confirmations_per_commitment + FINALITY_DEPTH - 1,
None,
Some(Duration::from_secs(120)),
)
.await?;

Expand All @@ -241,7 +243,7 @@ impl TestCase for SequencerSendCommitmentsToDaTest {
sequencer
.wait_for_l2_height(
end_l2_block + min_soft_confirmations_per_commitment + FINALITY_DEPTH - 2,
None,
Some(Duration::from_secs(120)),
)
.await?;

Expand Down

0 comments on commit 3347873

Please sign in to comment.