diff --git a/orchestrator/Cargo.lock b/orchestrator/Cargo.lock index ed5075abc..0d7d174b6 100644 --- a/orchestrator/Cargo.lock +++ b/orchestrator/Cargo.lock @@ -604,9 +604,9 @@ checksum = "cd51eab21ab4fd6a3bf889e2d0958c0a6e3a61ad04260325e919e652a2a62826" [[package]] name = "contact" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db05b618e1e787aad1f089f0e2a2638131e8541b3bf7c18348bda718a3a98885" +checksum = "46eb2b658f7d46ac4a9737d8d69f4784796aea04b7388935d3eddd4470b883f4" dependencies = [ "actix-web", "deep_space", @@ -3180,9 +3180,9 @@ checksum = "7e7811dd7f9398f14cc76efd356f98f03aa30419dea46aa810d71e819fc97158" [[package]] name = "web30" -version = "0.10.2" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1492467879d37c07f4d94a2398a957693b1808e32eb077d6c64a3c2f720bcc7" +checksum = "37550e647c01239c4ecc270420eb664935235e646874c1bc4716b6c0f4a8cc16" dependencies = [ "actix", "actix-web", diff --git a/orchestrator/orchestrator/src/oracle_resync.rs b/orchestrator/orchestrator/src/oracle_resync.rs index d4ddc86b7..037256842 100644 --- a/orchestrator/orchestrator/src/oracle_resync.rs +++ b/orchestrator/orchestrator/src/oracle_resync.rs @@ -22,7 +22,7 @@ pub async fn get_last_checked_block( web3: &Web3, ) -> Uint256 { let mut grpc_client = grpc_client; - const BLOCKS_TO_SEARCH: u128 = 50_000u128; + const BLOCKS_TO_SEARCH: u128 = 5_000u128; let latest_block = get_block_number_with_retry(web3).await; let mut last_event_nonce: Uint256 = diff --git a/orchestrator/relayer/src/find_latest_valset.rs b/orchestrator/relayer/src/find_latest_valset.rs index cd5a8a0d0..6aab64393 100644 --- a/orchestrator/relayer/src/find_latest_valset.rs +++ b/orchestrator/relayer/src/find_latest_valset.rs @@ -18,7 +18,7 @@ pub async fn find_latest_valset( peggy_contract_address: Address, web3: &Web3, ) -> Result { - const BLOCKS_TO_SEARCH: u128 = 50_000u128; + const BLOCKS_TO_SEARCH: u128 = 5_000u128; let latest_block = web3.eth_block_number().await?; let mut current_block: Uint256 = latest_block.clone(); let latest_ethereum_valset =