mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-20 23:19:49 +00:00
test: test tun 2
This commit is contained in:
parent
ea616d0100
commit
c5925e964f
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -182,7 +182,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RISC0_DEV_MODE: "1"
|
RISC0_DEV_MODE: "1"
|
||||||
RUST_LOG: "info"
|
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:
|
# valid-proof-test:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|||||||
@ -5,7 +5,7 @@ use bedrock_client::{BedrockClient, HeaderId};
|
|||||||
use common::block::{Block, HashableBlockData};
|
use common::block::{Block, HashableBlockData};
|
||||||
// ToDo: Remove after testnet
|
// ToDo: Remove after testnet
|
||||||
use common::{HashType, PINATA_BASE58};
|
use common::{HashType, PINATA_BASE58};
|
||||||
use log::{debug, error, info};
|
use log::{error, info};
|
||||||
use logos_blockchain_core::mantle::{
|
use logos_blockchain_core::mantle::{
|
||||||
Op, SignedMantleTx,
|
Op, SignedMantleTx,
|
||||||
ops::channel::{ChannelId, inscribe::InscriptionOp},
|
ops::channel::{ChannelId, inscribe::InscriptionOp},
|
||||||
@ -214,11 +214,11 @@ impl IndexerCore {
|
|||||||
"INITIAL SEARCH: Observed L1 block at slot {}",
|
"INITIAL SEARCH: Observed L1 block at slot {}",
|
||||||
cycle_block.header().slot().into_inner()
|
cycle_block.header().slot().into_inner()
|
||||||
);
|
);
|
||||||
debug!(
|
info!(
|
||||||
"INITIAL SEARCH: This block header is {}",
|
"INITIAL SEARCH: This block header is {}",
|
||||||
cycle_block.header().id()
|
cycle_block.header().id()
|
||||||
);
|
);
|
||||||
debug!(
|
info!(
|
||||||
"INITIAL SEARCH: This block parent is {}",
|
"INITIAL SEARCH: This block parent is {}",
|
||||||
cycle_block.header().parent()
|
cycle_block.header().parent()
|
||||||
);
|
);
|
||||||
@ -317,6 +317,7 @@ fn parse_block_owned(
|
|||||||
l1_block: &bedrock_client::Block<SignedMantleTx>,
|
l1_block: &bedrock_client::Block<SignedMantleTx>,
|
||||||
decoded_channel_id: &ChannelId,
|
decoded_channel_id: &ChannelId,
|
||||||
) -> (Vec<Block>, HeaderId) {
|
) -> (Vec<Block>, HeaderId) {
|
||||||
|
info!("Block with slot {:?} have {} transactions", l1_block.header().slot(), l1_block.transactions_vec().len());
|
||||||
(
|
(
|
||||||
#[expect(
|
#[expect(
|
||||||
clippy::wildcard_enum_match_arm,
|
clippy::wildcard_enum_match_arm,
|
||||||
|
|||||||
@ -13,7 +13,7 @@ use tokio::test;
|
|||||||
use wallet::cli::{Command, programs::native_token_transfer::AuthTransferSubcommand};
|
use wallet::cli::{Command, programs::native_token_transfer::AuthTransferSubcommand};
|
||||||
|
|
||||||
/// Timeout in milliseconds to reliably await for block finalization.
|
/// 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]
|
#[test]
|
||||||
async fn indexer_test_run() -> Result<()> {
|
async fn indexer_test_run() -> Result<()> {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user