From c07f1431c1627235a526b627aa76375b49a7ee95 Mon Sep 17 00:00:00 2001 From: jfldde <168934971+jfldde@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:03:13 +0000 Subject: [PATCH] Reduce bandwidth duration and size for testing --- src/citrea_config/bitcoin.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/citrea_config/bitcoin.rs b/src/citrea_config/bitcoin.rs index 9d08e8d..4de6d2c 100644 --- a/src/citrea_config/bitcoin.rs +++ b/src/citrea_config/bitcoin.rs @@ -28,11 +28,13 @@ pub struct FeeServiceConfig { fee_multipler_scalar: f64, } +// Default FeeServiceConfig for e2e test. +// Bandwidth duration and size are reduced to 4096/30s for ease of testing impl Default for FeeServiceConfig { fn default() -> Self { Self { - max_da_bandwidth_bytes: 4 * 1024 * 1024, // 4MB - window_duration_secs: 600, // 10min + max_da_bandwidth_bytes: 4 * 1024, // 4096 bytes + window_duration_secs: 30, // 30secs capacity_threshold: 0.5, base_fee_multiplier: 1.0, max_fee_multiplier: 4.0,