chore: fix typos, enable ignored test

This commit is contained in:
erhant 2026-07-07 10:49:01 +03:00
parent f72abc282a
commit e8002ee5e0
2 changed files with 2 additions and 3 deletions

View File

@ -561,7 +561,6 @@ fn create_zone_indexer_observer(
///
/// TODO: Integration-level park testing (publishing a bad block to force a stall) is a follow-up
/// needing fault injection support in the test harness.
#[ignore = "requires the full local stack (bedrock + sequencer + indexer)"]
#[test]
async fn indexer_status_rpc_reports_caught_up_with_no_stall() -> anyhow::Result<()> {
use indexer_service_rpc::RpcClient as _;

View File

@ -42,7 +42,7 @@ enum ChainConsistency {
Inconsistent(BlockMismatch),
}
/// The differing pair behind a [`ChainConsistenty::Inconsistent`]: our stored
/// The differing pair behind a [`ChainConsistency::Inconsistent`]: our stored
/// block vs. the block the channel serves at the same id, as `(block_id, hash)`.
struct BlockMismatch {
ours: (u64, HashType),
@ -150,7 +150,7 @@ impl IndexerCore {
return Ok(ChainConsistency::Inconclusive);
};
// copare the block w.r.t hashes
// compare the block w.r.t hashes
let comparison_result = if ours.header.hash == channel.header.hash {
ChainConsistency::Consistent
} else {