-
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
Removed TryFromRaw, implemented DomainType where needed #252
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.
Great stuff, thanks :)
@@ -47,14 +47,18 @@ fn simd_chain() -> CosmosSDKChain { | |||
#[test] | |||
#[ignore] | |||
fn query_connection_id() { | |||
/* the current informaldev/simd image has an incompatible (old?) protobuf implementation |
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.
What’s the path forward for re-enabling this test? Do we just need to wait for the image to be updated to the new protobuf implementation? What does that mean actually? New protobuf message descriptors?
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.
Yes, we need a new docker image with an updated simd application. The protobuf message was updated in the SDK and an extra field added. We have more recent protobuf structs than the simd. (The simd is from the times of game-of-zones phase 1 when a bunch of the protobuf looked different.)
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.
Cool cool! Thanks, Greg.
Co-authored-by: Adi Seredinschi <adi@informal.systems>
…ems#252) * Removed TryFromRaw, implemented DomainType where needed * Update modules/src/ics03_connection/connection.rs Co-authored-by: Adi Seredinschi <adi@informal.systems> Co-authored-by: Adi Seredinschi <adi@informal.systems>
Closes: #249
Description
TryFromRaw was removed and replaced with the DomainType trait. Tests were updated and I found that the ConnectionID integration test fails because the simd application protobuf is outdated. (Commented out for now.)
For contributor use:
docs/
) and code commentsFiles changed
in the Github PR explorer