Skip to content

Commit

Permalink
fix: proto gen (cosmos#21172)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Aug 5, 2024
1 parent 3128b08 commit 892a3e3
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 39 deletions.
5 changes: 4 additions & 1 deletion api/cosmos/app/runtime/v2/module.pulsar.go

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

7 changes: 5 additions & 2 deletions proto/cosmos/app/runtime/v2/module.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ message Module {

// GasConfig is the config object for gas limits.
message GasConfig {
// validate_tx_gas_limit is the gas limit for validating a tx.
uint64 validate_tx_gas_limit = 1;
uint64 query_gas_limit = 2;
uint64 simulation_gas_limit = 3;
// query_gas_limit is the gas limit for querying.
uint64 query_gas_limit = 2;
// simulation_gas_limit is the gas limit for simulation.
uint64 simulation_gas_limit = 3;
}

// StoreKeyConfig may be supplied to override the default module store key, which
Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/store/snapshots/v2/snapshot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cosmos.store.snapshots.v2;

import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";
option go_package = "cosmossdk.io/store/snapshots/types";
option go_package = "cosmossdk.io/store/v2/snapshots/types";

// Snapshot contains Tendermint state sync snapshot info.
message Snapshot {
Expand Down
1 change: 1 addition & 0 deletions store/v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
cosmossdk.io/errors/v2 v2.0.0-20240731132947-df72853b3ca5
cosmossdk.io/log v1.3.1
github.com/cockroachdb/pebble v1.1.0
github.com/cosmos/cosmos-proto v1.0.0-beta.5
github.com/cosmos/gogoproto v1.5.0
github.com/cosmos/iavl v1.2.1-0.20240725141113-7adc688cf179
github.com/cosmos/ics23/go v0.10.0
Expand Down
2 changes: 2 additions & 0 deletions store/v2/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cosmos/cosmos-db v1.0.2 h1:hwMjozuY1OlJs/uh6vddqnk9j7VamLv+0DBlbEXbAKs=
github.com/cosmos/cosmos-db v1.0.2/go.mod h1:Z8IXcFJ9PqKK6BIsVOB3QXtkKoqUOp1vRvPT39kOXEA=
github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA=
github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec=
github.com/cosmos/gogoproto v1.5.0 h1:SDVwzEqZDDBoslaeZg+dGE55hdzHfgUA40pEanMh52o=
github.com/cosmos/gogoproto v1.5.0/go.mod h1:iUM31aofn3ymidYG6bUR5ZFrk+Om8p5s754eMUcyp8I=
github.com/cosmos/iavl v1.2.1-0.20240725141113-7adc688cf179 h1:wmwDn7V3RodN9auB3FooSQxs46nHVE3u0mb87TJkZFE=
Expand Down
71 changes: 36 additions & 35 deletions store/v2/snapshots/types/snapshot.pb.go

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

0 comments on commit 892a3e3

Please sign in to comment.