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

Remove cancellation for Send.*AppRequest messages #1142

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Fixes issue that caused unexpected AppResponse / AppRequestFailed messages to be reported.

How this works

The rpcChainVM does not guarantee that returning an error from these methods implies that the messages was not sent to the peer.

How this was tested

Calling warp_getBlockAggregateSignature and closing the TCP connection during the request causes the context to be cancelled here. After this fix was introduced the issue is no longer able to be replicated.

How is this documented

Comments

@darioush darioush enabled auto-merge (squash) April 4, 2024 19:56
@darioush darioush merged commit 004a1d2 into master Apr 4, 2024
9 checks passed
@darioush darioush deleted the do-not-cancel-send-message-requests branch April 4, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants