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

Restore generated protos to their specified version #147

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

romac
Copy link
Member

@romac romac commented Sep 27, 2023

In #122 I mistakenly broke the script that checks out the repositories for the SDK, IBC-Go and ICS at the specified commits. Since then, the script has been checking out the default branch at its latest state instead of the commits specified in the src/*_COMMIT files.

This PR fixes the script and re-generates the protos for them to match their version.

@romac romac changed the title Fix script to checkout the proper commit and re-generate protos Restore generated protos to their specified version Sep 27, 2023
Copy link
Contributor

@mzabaluev mzabaluev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have properly established provenance of the bindings.

@@ -109,6 +114,90 @@ pub struct ExtensionRangeOptions {
/// The parser stores options it doesn't recognize here. See above.
#[prost(message, repeated, tag = "999")]
pub uninterpreted_option: ::prost::alloc::vec::Vec<UninterpretedOption>,
/// For external users: DO NOT USE. We are in the process of open sourcing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting that it checks out different and seemingly newer google protobuf. Ideally though, we should converge on prost-types or some other basic crate to consistently represent these messages.

Copy link
Member Author

@romac romac Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting that it checks out different and seemingly newer google protobuf

Yeah I never quite understood why those change so much.

Ideally though, we should converge on prost-types or some other basic crate to consistently represent these messages

Agreed!

@romac romac merged commit d31d165 into main Sep 27, 2023
9 checks passed
@romac romac deleted the romac/fix-script branch September 27, 2023 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants