Skip to content

Commit

Permalink
fix: upgrade proto buf version (#338)
Browse files Browse the repository at this point in the history
* fix: modify proto path; remove beta1

* build: fix proto lint error

* docs: modify changelog

* docs: modify changelog
  • Loading branch information
Woosang Son authored Oct 1, 2021
1 parent f35dabc commit cfdcb73
Show file tree
Hide file tree
Showing 202 changed files with 6,919 additions and 6,961 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
* (build) [\#195](https://github.com/line/lbm-sdk/pull/195) Build properly when using libsecp256k1
* (perf) [\#198](https://github.com/line/lbm-sdk/pull/198) Caching paramset
* (global) [\#200](https://github.com/line/lbm-sdk/pull/200) Add a env prefix
* (store) [\#202](https://github.com/line/lbm-sdk/pull/202) param store doesn't use gas kv
* (store) [\#202](https://github.com/line/lbm-sdk/pull/202) Param store doesn't use gas kv
* (store) [\#203](https://github.com/line/lbm-sdk/pull/203) Remove transient store that is not used now
* (perf) [\#204](https://github.com/line/lbm-sdk/pull/204) Apply rw mutex to cachekv
Expand Down Expand Up @@ -60,6 +59,8 @@
* (config) [\#138](https://github.com/line/lbm-sdk/pull/138) Fix getting coin type at running cmd
* (race) [\#159](https://github.com/line/lbm-sdk/pull/159) Fix test-race failure
* (test) [\#193](https://github.com/line/lbm-sdk/pull/193) Allow to add new validator in test network
* (client) [\#286](https://github.com/line/lbm-sdk/pull/286) Fix invalid type casting for error
* (test) [\#326](https://github.com/line/lbm-sdk/pull/326) Enable sim test and fix address related bug

### Breaking Changes
* (global) [\#90](https://github.com/line/lbm-sdk/pull/90) Revise module path to `github.com/line/lfb-sdk`
Expand All @@ -70,6 +71,7 @@
* (global) [\#298](https://github.com/line/lbm-sdk/pull/298) Treat addresses as strings
* (ostracon) [\#317](https://github.com/line/lbm-sdk/pull/317) Integrate Ostracon including vrf election and voter concept
* (global) [\#323](https://github.com/line/lfb-sdk/pull/323) Re-brand lfb-sdk to lbm-sdk
* (proto) [\#338](https://github.com/line/lbm-sdk/pull/338) Upgrade proto buf from v1beta1 to v1

### Build, CI
* (ci) [\#234](https://github.com/line/lbm-sdk/pull/234) Fix branch name in ci script
Expand All @@ -84,6 +86,7 @@
* (docs) [\#259](https://github.com/line/lbm-sdk/pull/259) Modify copyright, verified from legal team
* (docs) [\#260](https://github.com/line/lbm-sdk/pull/260) Remove gov, ibc and readme of wasm module
* (docs) [\#262](https://github.com/line/lbm-sdk/pull/262) Fix link urls, remove invalid reference
* (docs) [\#328](https://github.com/line/lbm-sdk/pull/328) Update quick start guide

## [cosmos-sdk v0.42.1] - 2021-03-15
Initial lbm-sdk is based on the cosmos-sdk v0.42.1
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,10 @@ proto-swagger-gen:
$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace tendermintdev/sdk-proto-gen sh ./scripts/protoc-swagger-gen.sh

proto-lint:
@$(DOCKER_BUF) check lint --error-format=json
@$(DOCKER_BUF) lint --error-format=json

proto-check-breaking:
@$(DOCKER_BUF) check breaking --against-input $(HTTPS_GIT)#branch=main
@$(DOCKER_BUF) breaking --against $(HTTPS_GIT)#branch=main

TM_URL = https://raw.githubusercontent.com/tendermint/tendermint/v0.34.0-rc6/proto/tendermint
GOGO_PROTO_URL = https://raw.githubusercontent.com/regen-network/protobuf/cosmos
Expand Down
4 changes: 4 additions & 0 deletions buf.work.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: v1
directories:
- proto
- third_party/proto
26 changes: 13 additions & 13 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,79 +13,79 @@
}
},
{
"url": "./tmp-swagger-gen/lbm/auth/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/auth/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "AuthParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/bank/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/bank/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "BankParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/base/ostracon/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/base/ostracon/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "BaseParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/distribution/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/distribution/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "DistributionParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/evidence/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/evidence/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "EvidenceParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/gov/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/gov/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "GovParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/mint/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/mint/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "MintParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/params/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/params/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "Params"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/slashing/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/slashing/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "SlashingParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/staking/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/staking/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "StakingParams",
Expand All @@ -94,13 +94,13 @@
}
},
{
"url": "./tmp-swagger-gen/lbm/tx/v1beta1/service.swagger.json",
"url": "./tmp-swagger-gen/lbm/tx/v1/service.swagger.json",
"dereference": {
"circular": "ignore"
}
},
{
"url": "./tmp-swagger-gen/lbm/upgrade/v1beta1/query.swagger.json",
"url": "./tmp-swagger-gen/lbm/upgrade/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "UpgradeParams"
Expand Down Expand Up @@ -140,7 +140,7 @@
}
},
{
"url": "./tmp-swagger-gen/cosmwasm/wasm/v1beta1/query.swagger.json"
"url": "./tmp-swagger-gen/cosmwasm/wasm/v1/query.swagger.json"
}
]
}
Loading

0 comments on commit cfdcb73

Please sign in to comment.