-
Notifications
You must be signed in to change notification settings - Fork 148
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
Provider and Consumer's OnAcknowledgementPacket
should only log an error
#547
Comments
OnAcknowledgementPacket
should only log an errorOnAcknowledgementPacket
should only log an error
Edit: this issue also applies to the provider's |
@jtremback This is a product discussion. Should a critical bug (e.g., marshaling errors) result in the consumer shutting down? |
Note if we're able to implement epochs, we could elegantly halt the consumer upon receiving an err ack, be able to patch the consumer binary with no state migrations, and resume the consumer once fixed. Any epoch packets constructed before/during the halt would be queued up, and ready to send once the consumer is back up |
Closing as non-issue. The behavior is as intended. |
Problem
OnAcknowledgementPacket currently closes the CCV channel in the event that an IBC err ack is returned from the provider. If CCV is working as intended, these paths should never be executed. Therefore a returned err ack is probably a symptom of a deeper bug that needs to be addressed manually.
Closing criteria
Either only log an error in OnAcknowledgementPacket, or halt the consumer. Let users know that there's a critical bug to be addressed, without polluting state by executing automatic recovery logic.
The text was updated successfully, but these errors were encountered: