Skip to content

Commit fe4c568

Browse files
committed
feat: register failed finalization
1 parent a6152fa commit fe4c568

File tree

1 file changed

+2
-0
lines changed
  • crates/blockchain/state_transition/src

1 file changed

+2
-0
lines changed

crates/blockchain/state_transition/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ fn process_attestations(
316316
let slot = root_to_slot[root];
317317
slot > state.latest_finalized.slot
318318
});
319+
} else {
320+
metrics::inc_finalizations("error");
319321
}
320322
}
321323
}

0 commit comments

Comments
 (0)