-
Notifications
You must be signed in to change notification settings - Fork 344
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
Hermes submits a high number of redundant packets on Stride #3503
Comments
An update on this, it seems that at least for Hermes the lack of events does not explain the high number of uneffected packets as we re-evaluate immediately without retrying. |
Probably caused by Stride-Labs/stride#807 |
And fixed in Stride-Labs/stride#882 |
Re-opening until we can confirm once Stride v13 rolls out |
@romac Good to close this now? 🙂 |
Summary of Bug
[Huge thanks to @romac @ljoss17 and @colin-axner for the help with the investigation]
When relaying on stride the relayers relay an unusual number of redundant ack and recv packets. After our analysis on the transactions, hermes logs and full node logs on thing we found is that stride chain does not emit events for the redundant relays.
When configured withtx_confirmation = true
, hermes looks for the events associated with the packet relayed,write_acknowledgement
for recv andacknowledge_packet
for ack. If it does not find the processing events, it retries a number of times before re-evaluating the original,send_packet
for recv andwrite_acknowledgment
for ack.We confirmed with @colin-axner that in newer ibc-go versions the events for redundant relays are not emitted for redundant relays. He provided these details:
Update
@romac has written tests that show that on ibc-go v4.x:
Version
all
Steps to Reproduce
Acceptance Criteria
The number of uneffected packets sent by Hermes on Stride should be comparable with other chains
We should also:
For Admin Use
The text was updated successfully, but these errors were encountered: