-
Notifications
You must be signed in to change notification settings - Fork 135
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: unpack errors on ReferenceBlockAttestation #1199
fix: unpack errors on ReferenceBlockAttestation #1199
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take a look at ValidatorBalanceAttestation
messages. They have the same constraints (no relaying), but the logic is handled differently (by populating some PublicAccessData
I believe).
How about using the same approach here, so we don't end up with n
solutions for the same problem again?
I think I didn't want to add the field to edit We set |
Pigeon will still query it, but Paloma won't hand the message out for delivery, since the To be honest, I think it's more in line with the current architecture to stick with this approach. Can you see any reasons why you'd want to move away from it? Splitting queues is likely something we want to explore in the future, but out of scope for this one. |
We have that, and it's working. I agree we should keep it. The current issue is that in I realize now a simpler solution could be to push this check for |
I think it sounds like a great idea :) |
b033d98
to
23006c3
Compare
ReferenceBlockAttestation messages currently do not need an assignee, however they are still queried for messages to relay, leading to unpack error messages in palomad logs. By first checking for publicAccessData, ReferenceBlockAttestation messages are filtered before we try to unpack them as TurnstoneMsg and avoid the errors.
23006c3
to
945a9a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice
Related Github tickets
Background
ReferenceBlockAttestation messages currently do not need an assignee, however they are still queried for messages to relay, leading to unpack error messages in palomad logs.
By first checking for publicAccessData, ReferenceBlockAttestation messages are filtered before we try to unpack them as TurnstoneMsg and avoid the errors.
Testing completed
Breaking changes