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

fix: set ErrorData on all errors from handling a turnstone message #439

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

maharifu
Copy link
Contributor

Related Github tickets

Background

Currently some errors do not set ErrorData on turnstone messages. When there's an error on these messages (for instance an RPC error) they just stay on the queue until they expire.

We want all errors to set the ErrorData on messages so they can fail fast and be retried. Furthermore, compass errors are treated as normal errors and returned in the ErrorData as well.

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

@maharifu maharifu merged commit 455b91c into palomachain:master Sep 20, 2024
2 checks passed
@maharifu maharifu deleted the chore/handle_compass_errors branch September 20, 2024 15: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.

Set ErrorData from all compass errors on pigeon
2 participants