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

fix(protoanalysis): fix wrong parser for proto package names #3728

Merged
merged 10 commits into from
Nov 7, 2023

Conversation

Pantani
Copy link
Collaborator

@Pantani Pantani commented Nov 3, 2023

Description

When we parse the proto files, we are trying to resolve the proto package name, getting the last name from the namespace, but some packages have the version in the end. For instance, cosmos.staking.v1beta1 is returning v1beta1 as the name of the proto package. This PR solves the issue of getting the last valid name by removing the version.

@github-actions github-actions bot added component:ci CI/CD workflow and automated jobs. component:configs type:services Service-related issues. component:packages labels Nov 3, 2023
@Pantani Pantani added this to the v0.28 milestone Nov 3, 2023
jeronimoalbi
jeronimoalbi previously approved these changes Nov 6, 2023
Co-authored-by: Jerónimo Albi <[email protected]>
@Pantani Pantani requested a review from jeronimoalbi November 6, 2023 12:17
@Pantani Pantani merged commit c9c97e2 into main Nov 7, 2023
26 checks passed
@Pantani Pantani deleted the fix/proto-pkg-parse branch November 7, 2023 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ci CI/CD workflow and automated jobs. component:configs component:packages type:services Service-related issues.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants