Skip to content

Commit 83212f4

Browse files
authored
Problem: Protobuf code generation is not consistent with cosmos-sdk (crypto-org-chain#851)
* Problem: Protobuf code generation is not consistent with cosmos-sdk Solution: Generate proto code using buf with similar configuration as cosmos-sdk * update config.json * Regenerate swagger.yaml * Update statik.go * Update gomod2nix.toml * Generate gomod2nix.toml * update statik.go
1 parent a3ec407 commit 83212f4

File tree

17 files changed

+2239
-7908
lines changed

17 files changed

+2239
-7908
lines changed

MakefileDoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
include third_party/cosmos-sdk/contrib/devtools/Makefile
77

8-
containerProtoVer=v0.2
8+
containerProtoVer=v0.7
99
containerProtoImage=tendermintdev/sdk-proto-gen:$(containerProtoVer)
1010
containerProtoGen=cosmos-sdk-proto-gen-$(containerProtoVer)
1111
containerProtoGenSwagger=cosmos-sdk-proto-gen-swagger-$(containerProtoVer)

app/docs/config.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
"version": "1.0.0"
77
},
88
"apis": [
9-
{
10-
"url": "./app/docs/swagger_legacy.yaml",
11-
"dereference": {
12-
"circular": "ignore"
13-
}
14-
},
159
{
1610
"url": "./tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json",
1711
"operationIds": {
@@ -119,4 +113,4 @@
119113
}
120114
}
121115
]
122-
}
116+
}

app/docs/statik/statik.go

Lines changed: 5 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)