-
Notifications
You must be signed in to change notification settings - Fork 329
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
Connection and channel handshake fails with non-batching transactions #1971
Comments
I can reproduce this error with #1980. I have also tried checking if it is |
Should we simply make |
Why can't we fix it in the same way we do for packet case? I am asking because i sometime use |
What do you mean by that? |
For packet relaying we see the same error if using gaia v6.0.x. I think it's not there for gaia v7.0.x. I just checked master and this is not the case anymore so if a set of packet messages is split in two Tx-es, the second will fail. |
These diffs seem to fix the issues:
Still need to figure out if this would work for gaia versions before v6.0.x. |
@ancazamfir Neat! Can you go into a bit more detail as to why this solves the problem? |
While testing #2167 I'm encountering a similar problem that has this same fix. It seems gaiad v6.0.1 uses More concretely, with v6.0.4 we get:
With v6.0.1 we get:
I will do these changes Anca highlighted in the diff above directly in PR #2167. Gaia v7.0.1 uses the same as 6.0.1. Furthermore, we noticed a similar change from More details about upstream changes in Gaia/SDKGaiad v6.0.1 uses sdk 0.44.5 |
Maybe in the fix we should relax the |
… (#2163) * Enforce a min bound of 2 on `max_msg_num` * Add a constructor for `MaxMsgNum` * Add constructors for `MaxTxSize` and `Memo` * Add changelog entry * Add parsing tests for config domain types * Relax min bound on MaxMsgNum to 1 * Remove useless dead_code allow * Added workaround to tonic::code inconsistencies. Ref: #1971 (comment) * Update changelog entries * Re-add allow dead_code + comment * Update changelog Co-authored-by: Adi Seredinschi <[email protected]>
* Added docs for unreceived_acknowledgements and unreceived_packets * Flipped order of sentences * First iteration for #2087; packet-recv works, packet-ack left * Incremental processing of packet-ack relaying * Added consensus_state_height_bounded with optimistic path * Nits * Simplified progress tracking * Comment cleanup * fmt and better logs * Document the alternative path in consensus_state_height_bounded * renamed method to make it more explicit h/t SeanC * better var name * Added workaround to tonic::code inconsistencies. Ref: #1971 (comment) * refactored the packet query methods * Refactored CLIs for incremental relaying * Experiment * Fix for packet send for non-zero delay * Using app status instead of network status * fmt * Undoing unnecessary chenges on foreign_client.rs * Removed outdated comments * Apply suggestions from code review Co-authored-by: Anca Zamfir <[email protected]> * Small refactor in cli.rs * Address review comments * Remove duplicate code * Undo one-chain change * Fix documentation * Changelog Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Anca Zamfir <[email protected]>
…ormalsystems#1971 (informalsystems#2163) * Enforce a min bound of 2 on `max_msg_num` * Add a constructor for `MaxMsgNum` * Add constructors for `MaxTxSize` and `Memo` * Add changelog entry * Add parsing tests for config domain types * Relax min bound on MaxMsgNum to 1 * Remove useless dead_code allow * Added workaround to tonic::code inconsistencies. Ref: informalsystems#1971 (comment) * Update changelog entries * Re-add allow dead_code + comment * Update changelog Co-authored-by: Adi Seredinschi <[email protected]>
* Added docs for unreceived_acknowledgements and unreceived_packets * Flipped order of sentences * First iteration for informalsystems#2087; packet-recv works, packet-ack left * Incremental processing of packet-ack relaying * Added consensus_state_height_bounded with optimistic path * Nits * Simplified progress tracking * Comment cleanup * fmt and better logs * Document the alternative path in consensus_state_height_bounded * renamed method to make it more explicit h/t SeanC * better var name * Added workaround to tonic::code inconsistencies. Ref: informalsystems#1971 (comment) * refactored the packet query methods * Refactored CLIs for incremental relaying * Experiment * Fix for packet send for non-zero delay * Using app status instead of network status * fmt * Undoing unnecessary chenges on foreign_client.rs * Removed outdated comments * Apply suggestions from code review Co-authored-by: Anca Zamfir <[email protected]> * Small refactor in cli.rs * Address review comments * Remove duplicate code * Undo one-chain change * Fix documentation * Changelog Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Anca Zamfir <[email protected]>
* Added docs for unreceived_acknowledgements and unreceived_packets * Flipped order of sentences * First iteration for #2087; packet-recv works, packet-ack left * Incremental processing of packet-ack relaying * Added consensus_state_height_bounded with optimistic path * Nits * Simplified progress tracking * Comment cleanup * fmt and better logs * Document the alternative path in consensus_state_height_bounded * renamed method to make it more explicit h/t SeanC * better var name * Added workaround to tonic::code inconsistencies. Ref: informalsystems/hermes#1971 (comment) * refactored the packet query methods * Refactored CLIs for incremental relaying * Experiment * Fix for packet send for non-zero delay * Using app status instead of network status * fmt * Undoing unnecessary chenges on foreign_client.rs * Removed outdated comments * Apply suggestions from code review Co-authored-by: Anca Zamfir <[email protected]> * Small refactor in cli.rs * Address review comments * Remove duplicate code * Undo one-chain change * Fix documentation * Changelog Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Anca Zamfir <[email protected]>
Summary of Bug
With single message per Tx (i.e.
max_msg_num = 1
in config) connection and channel creation failsPacket relaying still works as we check for this particular failure during simulation.
Version
master and all recent ones
Steps to Reproduce
Acceptance Criteria
For Admin Use
The text was updated successfully, but these errors were encountered: