Skip to content

Commit 38d1a6e

Browse files
committed
Merge branch 'main' of github.com:chainwayxyz/citrea-e2e into cleanup-config
2 parents ea275e3 + 8d7aa3d commit 38d1a6e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/config/bitcoin.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,15 @@ impl BitcoinConfig {
4646
"-regtest".to_string(),
4747
format!("-datadir={}", self.data_dir.display()),
4848
format!("-port={}", self.p2p_port),
49+
format!("-bind=0.0.0.0:{}", self.p2p_port),
4950
format!("-rpcport={}", self.rpc_port),
51+
format!("-bind=0.0.0.0:{}", self.rpc_port),
5052
format!("-rpcuser={}", self.rpc_user),
5153
format!("-rpcpassword={}", self.rpc_password),
5254
"-server".to_string(),
5355
"-daemonwait".to_string(),
5456
"-txindex".to_string(),
57+
"-onlynet=ipv4".to_string(),
5558
"-addresstype=bech32m".to_string(),
5659
"-debug=net".to_string(),
5760
"-debug=rpc".to_string(),

src/docker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ impl DockerEnv {
327327
}
328328

329329
fn dump_logs_cli(&self, container_id: &str) -> Result<()> {
330-
let n_lines = std::env::var("TAIL_N_LINES").unwrap_or_else(|_| "25".to_string());
330+
let n_lines = std::env::var("TAIL_N_LINES").unwrap_or_else(|_| "100".to_string());
331331

332332
let output = std::process::Command::new("docker")
333333
.args(["logs", container_id, "-n", &n_lines])

src/framework.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl TestFramework {
170170
let n_lines = std::env::var("TAIL_N_LINES")
171171
.ok()
172172
.and_then(|v| v.parse::<usize>().ok())
173-
.unwrap_or(25);
173+
.unwrap_or(100);
174174
for provider in self.get_nodes_as_log_provider() {
175175
println!("{} logs (last {n_lines} lines):", provider.kind());
176176
let _ = tail_file(&provider.log_path(), n_lines);

0 commit comments

Comments
 (0)