From 5fa2d8106373827cee12c3b173c9d276b5f91004 Mon Sep 17 00:00:00 2001 From: mohiiit Date: Tue, 24 Dec 2024 11:55:16 +0530 Subject: [PATCH] update: time delay for txn finality in state update increased to 30 mins --- crates/settlement-clients/ethereum/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/settlement-clients/ethereum/src/lib.rs b/crates/settlement-clients/ethereum/src/lib.rs index 55cc3fe9..ce620ae4 100644 --- a/crates/settlement-clients/ethereum/src/lib.rs +++ b/crates/settlement-clients/ethereum/src/lib.rs @@ -49,9 +49,9 @@ const Y_LOW_POINT_OFFSET: usize = 14; const Y_HIGH_POINT_OFFSET: usize = Y_LOW_POINT_OFFSET + 1; // Ethereum Transaction Finality -const MAX_TX_FINALISATION_ATTEMPTS: usize = 100; +const MAX_TX_FINALISATION_ATTEMPTS: usize = 30; const REQUIRED_BLOCK_CONFIRMATIONS: u64 = 3; -const TX_WAIT_SLEEP_DELAY_SECS: u64 = 5; +const TX_WAIT_SLEEP_DELAY_SECS: u64 = 60; lazy_static! { pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(format!("{}/../../../", env!("CARGO_MANIFEST_DIR")));