Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ignore claims behind last observed nonce #1291

Merged

Conversation

maharifu
Copy link
Contributor

@maharifu maharifu commented Sep 13, 2024

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

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

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.
@maharifu maharifu force-pushed the fix/filter_claims_behind_last_nonce branch from b514136 to b052b1e Compare September 13, 2024 09:31
Copy link
Contributor

@byte-bandit byte-bandit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@maharifu maharifu merged commit 45bcb4e into palomachain:master Sep 13, 2024
4 checks passed
@maharifu maharifu deleted the fix/filter_claims_behind_last_nonce branch September 13, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants