Commit f61a2e7
authored
Automate and fix ProtocolBuffer generation across all sub modules (#2462)
Consolidate and modernise the protobuf setup across the codebase. All
Buf configurations have been aggregated and migrated to v2, providing a
single, unified configuration for consistent generation and linting.
Duplicate third-party protos have been removed following the
unification, reducing maintenance overhead and eliminating redundancy.
Several fixes have been applied to improve stability and code quality —
including correcting grpc-gateway import path requirements, resolving
warnings for nullable field options, and addressing various lint issues.
Non-critical lint rules have been suppressed to minimise noise and
simplify future reviews.
Additionally, the PR integrates proto generation into the standard go
generate workflow and introduces continuous integration checks to
validate all Buf configurations automatically. These updates ensure a
cleaner developer experience, more consistent code generation, and
tighter CI enforcement.
Updated modules: sei-chain, sei-cosmos, sei-tendermint, sei-wasmd.
One critical inconsistency was detected which is fixed in this PR and
bubbled up to the next release. See:
#24611 parent 2198b81 commit f61a2e7
401 files changed
Lines changed: 6476 additions & 46744 deletions
File tree
- .github/workflows
- proto
- epoch
- eth
- evm
- mint/v1beta1
- oracle
- tokenfactory
- scripts
- sei-cosmos
- client/grpc
- reflection
- tmservice
- proto
- cosmos
- accesscontrol_x
- accesscontrol
- authz/v1beta1
- auth/v1beta1
- bank/v1beta1
- base
- abci/v1beta1
- kv/v1beta1
- reflection
- v1beta1
- v2alpha1
- snapshots/v1beta1
- store/v1beta1
- tendermint/v1beta1
- v1beta1
- capability/v1beta1
- crisis/v1beta1
- crypto
- multisig
- v1beta1
- secp256r1
- sr25519
- distribution/v1beta1
- evidence/v1beta1
- feegrant/v1beta1
- genutil/v1beta1
- gov/v1beta1
- mint/v1beta1
- params
- types
- v1beta1
- slashing/v1beta1
- staking/v1beta1
- tx/v1beta1
- upgrade/v1beta1
- vesting/v1beta1
- server/grpc/reflection/v2alpha1
- snapshots/types
- third_party/proto
- confio
- cosmos_proto
- gogoproto
- google
- api
- protobuf
- tendermint
- abci
- crypto
- libs/bits
- p2p
- types
- version
- types
- accesscontrol
- tx
- signing
- x
- accesscontrol/types
- authz
- auth
- types
- vesting/types
- bank/types
- capability/types
- crisis/types
- distribution/types
- evidence/types
- feegrant
- gov/types
- mint/types
- params/types
- proposal
- slashing/types
- staking/types
- upgrade/types
- sei-tendermint
- proto
- scripts
- sei-wasmd
- proto
- cosmwasm/wasm/v1
- third_party/proto
- confio
- cosmos_proto
- cosmos
- authz/v1beta1
- auth/v1beta1
- bank/v1beta1
- base
- abci/v1beta1
- kv/v1beta1
- query/v1beta1
- reflection
- v1beta1
- v2alpha1
- snapshots/v1beta1
- store/v1beta1
- tendermint/v1beta1
- v1beta1
- capability/v1beta1
- crisis/v1beta1
- crypto
- ed25519
- multisig
- v1beta1
- secp256k1
- secp256r1
- distribution/v1beta1
- evidence/v1beta1
- feegrant/v1beta1
- genutil/v1beta1
- gov/v1beta1
- mint/v1beta1
- params/v1beta1
- slashing/v1beta1
- staking/v1beta1
- tx
- signing/v1beta1
- v1beta1
- upgrade/v1beta1
- vesting/v1beta1
- gogoproto
- google
- api
- protobuf
- ibc
- applications
- interchain_accounts
- controller/v1
- host/v1
- v1
- transfer/v1
- core
- channel/v1
- client/v1
- commitment/v1
- connection/v1
- types/v1
- lightclients
- localhost/v1
- solomachine
- v1
- v2
- tendermint/v1
- tendermint
- abci
- blockchain
- consensus
- crypto
- libs/bits
- mempool
- p2p
- privval
- rpc/grpc
- statesync
- state
- store
- types
- version
- x/wasm/types
- x
- epoch/types
- evm/types
- mint/types
- oracle/types
- tokenfactory/types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
36 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
0 commit comments