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: remove unused deps in .proto files #355

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

lesterli
Copy link
Contributor

Summary

This PR removes unused dependencies in .proto files, addressing the protobuf generation issue outlined in babylon-contract/issues/101.

Test Plan

make proto-lint

@lesterli lesterli requested a review from a team as a code owner December 18, 2024 13:19
@lesterli lesterli requested review from Lazar955, samricotta, SebastianElvis, maurolacy and bap2pecs and removed request for a team, Lazar955 and samricotta December 18, 2024 13:19
Copy link
Contributor

@maurolacy maurolacy left a comment

Choose a reason for hiding this comment

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

LGTM.

Adding the proto-lint target as part of protobuf generation or in CI tests looks like a good idea.

In particular since buf is failing on the Rust side because of these unneeded imports (see babylonlabs-io/babylon-contract#101). And in general because it's good practice.

@lesterli
Copy link
Contributor Author

lesterli commented Dec 18, 2024

Adding the proto-lint target as part of protobuf generation or in CI tests looks like a good idea.

yes, added.

If needed, i can also commit a separate PR to update the main branch.

Makefile Show resolved Hide resolved
@maurolacy
Copy link
Contributor

Yes, we can backport this to main branch as well.

@maurolacy maurolacy merged commit e901f1c into base/consumer-chain-support Dec 18, 2024
21 checks passed
@maurolacy maurolacy deleted the fix/proto-unused-deps branch December 18, 2024 14:36
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