Skip to content

Commit

Permalink
reserve pool_weights proto field
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Feb 20, 2024
1 parent bff8cb1 commit a838fc1
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 115 deletions.
12 changes: 4 additions & 8 deletions proto/osmosis/protorev/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,10 @@ message GenesisState {
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"base_denoms\""
];
// DEPRECATED: The pool weights that are being used to calculate the weight
// (compute cost) of each route. This field is deprecated and will be removed
// in the next release. It is replaced by the `info_by_pool_type` field.
PoolWeights pool_weights = 4 [
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"pool_weights\"",
deprecated = true
];
// DEPRECATED: pool_weights are weights that are being used to calculate the
// compute cost of each route. This field is deprecated.
// It is replaced by the `info_by_pool_type` field.
reserved 4;
// The number of days since module genesis.
uint64 days_since_module_genesis = 5
[ (gogoproto.moretags) = "yaml:\"days_since_module_genesis\"" ];
Expand Down
155 changes: 48 additions & 107 deletions x/protorev/types/genesis.pb.go

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

0 comments on commit a838fc1

Please sign in to comment.