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/proto lint #98

Merged
merged 3 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ignore:
- "custom/"
- "**/cli"
- "**/rest"
- "**/*.pulsar.go"
- "**/*.pb.go"
- "**/*.pb.gw.go"
- "**/test_utils.go"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ proto-format:
@$(protoImage) find ./proto -name "*.proto" -exec clang-format -i {} \;

proto-lint:
@$(protoImage) buf lint --error-format=json
@$(protoImage) buf lint --error-format=json ./proto

proto-check-breaking:
@$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main
Expand Down
1 change: 1 addition & 0 deletions api/opinit/opchild/v1/types.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/opinit/ophost/v1/genesis.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions api/opinit/ophost/v1/query.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions proto/opinit/opchild/v1/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ message PendingDeposits {
];
}

// CoinsWrapper defines the set of coins.
message CoinsWrapper {
repeated cosmos.base.v1beta1.Coin coins = 1 [
(gogoproto.nullable) = false,
Expand Down
1 change: 1 addition & 0 deletions proto/opinit/ophost/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ message Bridge {
repeated BatchInfoWithOutput batch_infos = 8 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
}

// WrappedOutput defines a wrapped output containing its index and proposal.
message WrappedOutput {
uint64 output_index = 1;
Output output_proposal = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
Expand Down
4 changes: 3 additions & 1 deletion proto/opinit/ophost/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,12 @@ message QueryTokenPairsResponse {
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}

// QueryLastFinalizedOutputRequest is request type for the Query/LastFinalizedOutput RPC method.
message QueryLastFinalizedOutputRequest {
uint64 bridge_id = 1;
}

// QueryLastFinalizedOutputResponse is response type for the Query/LastFinalizedOutput RPC method
message QueryLastFinalizedOutputResponse {
uint64 output_index = 1;
Output output_proposal = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
Expand All @@ -174,7 +176,7 @@ message QueryOutputProposalResponse {

// QueryOutputProposalsRequest is response type for the Query/OutputProposals RPC method
message QueryOutputProposalsRequest {
uint64 bridge_id = 1;
uint64 bridge_id = 1;
// pagination defines the pagination in the request.
cosmos.base.query.v1beta1.PageRequest pagination = 3;
}
Expand Down
1 change: 1 addition & 0 deletions x/opchild/types/types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions x/ophost/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions x/ophost/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading