Skip to content

Commit

Permalink
fix: fix buf commit (cosmos#13344)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Sep 20, 2022
1 parent bbcf2f1 commit 9454b97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ The `third_party/proto` folder that existed in [previous version](https://github

Instead, the SDK uses [`buf`](https://buf.build). Clients should have their own [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml) with `buf.build/cosmos/cosmos-sdk` as dependency, in order to avoid having to copy paste these files.

The protos can as well be downloaded using `buf export buf.build/cosmos/cosmos-sdk:$(curl -sS https://api.github.com/repos/cosmos/cosmos-sdk/commits/v0.46.0 | jq -r .sha) --output <some_folder>`.
The protos can as well be downloaded using `buf export buf.build/cosmos/cosmos-sdk:8cb30a2c4de74dc9bd8d260b1e75e176 --output <some_folder>`.
2 changes: 1 addition & 1 deletion client/v2/internal/buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deps:
- remote: buf.build
owner: cosmos
repository: cosmos-sdk
commit: 86d2a697b026488089f13a71ceb3815c
commit: 8cb30a2c4de74dc9bd8d260b1e75e176
- remote: buf.build
owner: cosmos
repository: gogo-proto
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
To generate the protos that were present in this folder run:

```bash
buf export buf.build/cosmos/cosmos-sdk:$(curl -sS https://api.github.com/repos/cosmos/cosmos-sdk/commits/<sdk_version_tag> | jq -r .sha) --output .
buf export buf.build/cosmos/cosmos-sdk:8cb30a2c4de74dc9bd8d260b1e75e176 --output .
```

0 comments on commit 9454b97

Please sign in to comment.