mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-07-09 15:29:34 +00:00
chore: fix typos, enable ignored test
This commit is contained in:
parent
f72abc282a
commit
e8002ee5e0
@ -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 _;
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user