fix: ci fix 1

This commit is contained in:
Pravdyvy 2026-02-16 10:34:41 +02:00
parent 344430a8f2
commit a4fc1dd570
26 changed files with 13 additions and 8 deletions

1
Cargo.lock generated
View File

@ -8209,7 +8209,6 @@ dependencies = [
"nssa_core",
"optfield",
"rand 0.8.5",
"risc0-zkvm",
"serde",
"serde_json",
"sha2",

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,5 @@
use std::str::FromStr;
use indexer_service_protocol::{Account, AccountId, Block, BlockId, HashType, Transaction};
use leptos::prelude::*;
use serde::{Deserialize, Serialize};

View File

@ -2,6 +2,7 @@
name = "indexer_service"
version = "0.1.0"
edition = "2024"
license = { workspace = true }
[dependencies]
indexer_service_protocol = { workspace = true, features = ["convert"] }

View File

@ -337,7 +337,11 @@ mod tests {
use base58::ToBase58;
use bedrock_client::BackoffConfig;
use common::{block::AccountInitialData, test_utils::sequencer_sign_key_for_testing, transaction::{NSSATransaction, transaction_pre_check}};
use common::{
block::AccountInitialData,
test_utils::sequencer_sign_key_for_testing,
transaction::{NSSATransaction, transaction_pre_check},
};
use logos_blockchain_core::mantle::ops::channel::ChannelId;
use mempool::MemPoolHandle;
use nssa::{AccountId, PrivateKey};

View File

@ -26,8 +26,7 @@ use itertools::Itertools as _;
use log::warn;
use nssa::{self, program::Program};
use sequencer_core::{
block_settlement_client::BlockSettlementClientTrait,
indexer_client::IndexerClientTrait,
block_settlement_client::BlockSettlementClientTrait, indexer_client::IndexerClientTrait,
};
use serde_json::Value;
@ -95,8 +94,8 @@ impl<BC: BlockSettlementClientTrait, IC: IndexerClientTrait> JsonHandler<BC, IC>
let tx = borsh::from_slice::<NSSATransaction>(&send_tx_req.transaction).unwrap();
let tx_hash = tx.hash();
let authenticated_tx = transaction_pre_check(tx)
.inspect_err(|err| warn!("Error at pre_check {err:#?}"))?;
let authenticated_tx =
transaction_pre_check(tx).inspect_err(|err| warn!("Error at pre_check {err:#?}"))?;
// TODO: Do we need a timeout here? It will be usable if we have too many transactions to
// process
@ -328,7 +327,8 @@ mod tests {
use base64::{Engine, engine::general_purpose};
use bedrock_client::BackoffConfig;
use common::{
block::AccountInitialData, config::BasicAuth, test_utils::sequencer_sign_key_for_testing, transaction::NSSATransaction
block::AccountInitialData, config::BasicAuth, test_utils::sequencer_sign_key_for_testing,
transaction::NSSATransaction,
};
use nssa::AccountId;
use sequencer_core::{

View File

@ -27,7 +27,6 @@ rand.workspace = true
itertools.workspace = true
sha2.workspace = true
futures.workspace = true
risc0-zkvm.workspace = true
async-stream.workspace = true
indicatif = { version = "0.18.3", features = ["improved_unicode"] }
optfield = "0.4.0"