palomachain / paloma

The fast blockchain messenger protocol
Apache License 2.0
290 stars 135 forks source link

chore: ignore claims behind last observed nonce #1291

Closed maharifu closed 2 months ago

maharifu commented 2 months ago

Related Github tickets

Background

If we ever reset the latest skyway nonce ahead of any observed claim, we don't need nor want pigeons trying to attest to them. So, we can filter claims that are behind the latest attested claim.

This should prevent pigeons from getting stuck trying to get old claims if their RPC fails, and we need to reset the nonce ahead of observed claims.

Testing completed

Breaking changes