From c5925e964fd05c48e4ff26fff5caad71b33fe388 Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Fri, 20 Mar 2026 18:38:54 +0200 Subject: [PATCH] test: test tun 2 --- .github/workflows/ci.yml | 2 +- indexer/core/src/lib.rs | 7 ++++--- integration_tests/tests/indexer.rs | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04d7bab5..14acbd30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,7 +182,7 @@ jobs: env: RISC0_DEV_MODE: "1" RUST_LOG: "info" - run: cargo nextest run -p integration_tests indexer -- --skip tps_test --exact indexer_test_run + run: cargo test -p integration_tests -- --exact indexer_test_run # valid-proof-test: # runs-on: ubuntu-latest diff --git a/indexer/core/src/lib.rs b/indexer/core/src/lib.rs index 6c96821e..aea1ea17 100644 --- a/indexer/core/src/lib.rs +++ b/indexer/core/src/lib.rs @@ -5,7 +5,7 @@ use bedrock_client::{BedrockClient, HeaderId}; use common::block::{Block, HashableBlockData}; // ToDo: Remove after testnet use common::{HashType, PINATA_BASE58}; -use log::{debug, error, info}; +use log::{error, info}; use logos_blockchain_core::mantle::{ Op, SignedMantleTx, ops::channel::{ChannelId, inscribe::InscriptionOp}, @@ -214,11 +214,11 @@ impl IndexerCore { "INITIAL SEARCH: Observed L1 block at slot {}", cycle_block.header().slot().into_inner() ); - debug!( + info!( "INITIAL SEARCH: This block header is {}", cycle_block.header().id() ); - debug!( + info!( "INITIAL SEARCH: This block parent is {}", cycle_block.header().parent() ); @@ -317,6 +317,7 @@ fn parse_block_owned( l1_block: &bedrock_client::Block, decoded_channel_id: &ChannelId, ) -> (Vec, HeaderId) { + info!("Block with slot {:?} have {} transactions", l1_block.header().slot(), l1_block.transactions_vec().len()); ( #[expect( clippy::wildcard_enum_match_arm, diff --git a/integration_tests/tests/indexer.rs b/integration_tests/tests/indexer.rs index 623f8650..3b548c96 100644 --- a/integration_tests/tests/indexer.rs +++ b/integration_tests/tests/indexer.rs @@ -13,7 +13,7 @@ use tokio::test; use wallet::cli::{Command, programs::native_token_transfer::AuthTransferSubcommand}; /// Timeout in milliseconds to reliably await for block finalization. -const L2_TO_L1_TIMEOUT_MILLIS: u64 = 100_000; +const L2_TO_L1_TIMEOUT_MILLIS: u64 = 200_000; #[test] async fn indexer_test_run() -> Result<()> {