Closed yangby-cryptape closed 8 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
be21607
) 71.43% compared to head (ef511bd
) 71.42%.
Files | Patch % | Lines |
---|---|---|
src/protocols/light_client/peers.rs | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Currently, the light client only refreshes the last state after it has a proved last state. But, if it has sent a worse state to the light client (worse than saved state), the light client won't ask its last state proof.
The light client should ask it for a new last state.