Skip to content

Commit 255e72a

Browse files
committed
bump to v0.27.0
1 parent 323a3bc commit 255e72a

File tree

8 files changed

+347
-5
lines changed

8 files changed

+347
-5
lines changed

dependencies/osmosis

Submodule osmosis updated 1049 files

packages/osmosis-std/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ edition = "2021"
44
license = "MIT OR Apache-2.0"
55
name = "osmosis-std"
66
repository = "https://github.com/osmosis-labs/osmosis-rust/"
7-
version = "0.26.0"
7+
version = "0.27.0"
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v26.0.1
1+
v27.0.1

packages/osmosis-std/src/types/osmosis/incentives.rs

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,136 @@ pub struct GaugeWeight {
944944
::schemars::JsonSchema,
945945
CosmwasmExt,
946946
)]
947+
#[proto_message(type_url = "/osmosis.incentives.QueryInternalGaugesRequest")]
948+
#[proto_query(
949+
path = "/osmosis.incentives.Query/InternalGauges",
950+
response_type = QueryInternalGaugesResponse
951+
)]
952+
pub struct QueryInternalGaugesRequest {
953+
/// Pagination defines pagination for the request
954+
#[prost(message, optional, tag = "1")]
955+
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
956+
}
957+
#[allow(clippy::derive_partial_eq_without_eq)]
958+
#[derive(
959+
Clone,
960+
PartialEq,
961+
Eq,
962+
::prost::Message,
963+
::serde::Serialize,
964+
::serde::Deserialize,
965+
::schemars::JsonSchema,
966+
CosmwasmExt,
967+
)]
968+
#[proto_message(type_url = "/osmosis.incentives.QueryInternalGaugesResponse")]
969+
pub struct QueryInternalGaugesResponse {
970+
#[prost(message, repeated, tag = "1")]
971+
pub gauges: ::prost::alloc::vec::Vec<Gauge>,
972+
/// Pagination defines pagination for the response
973+
#[prost(message, optional, tag = "2")]
974+
pub pagination:
975+
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
976+
}
977+
#[allow(clippy::derive_partial_eq_without_eq)]
978+
#[derive(
979+
Clone,
980+
PartialEq,
981+
Eq,
982+
::prost::Message,
983+
::serde::Serialize,
984+
::serde::Deserialize,
985+
::schemars::JsonSchema,
986+
CosmwasmExt,
987+
)]
988+
#[proto_message(type_url = "/osmosis.incentives.QueryExternalGaugesRequest")]
989+
#[proto_query(
990+
path = "/osmosis.incentives.Query/ExternalGauges",
991+
response_type = QueryExternalGaugesResponse
992+
)]
993+
pub struct QueryExternalGaugesRequest {
994+
/// Pagination defines pagination for the request
995+
#[prost(message, optional, tag = "1")]
996+
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
997+
}
998+
#[allow(clippy::derive_partial_eq_without_eq)]
999+
#[derive(
1000+
Clone,
1001+
PartialEq,
1002+
Eq,
1003+
::prost::Message,
1004+
::serde::Serialize,
1005+
::serde::Deserialize,
1006+
::schemars::JsonSchema,
1007+
CosmwasmExt,
1008+
)]
1009+
#[proto_message(type_url = "/osmosis.incentives.QueryExternalGaugesResponse")]
1010+
pub struct QueryExternalGaugesResponse {
1011+
#[prost(message, repeated, tag = "1")]
1012+
pub gauges: ::prost::alloc::vec::Vec<Gauge>,
1013+
/// Pagination defines pagination for the response
1014+
#[prost(message, optional, tag = "2")]
1015+
pub pagination:
1016+
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
1017+
}
1018+
#[allow(clippy::derive_partial_eq_without_eq)]
1019+
#[derive(
1020+
Clone,
1021+
PartialEq,
1022+
Eq,
1023+
::prost::Message,
1024+
::serde::Serialize,
1025+
::serde::Deserialize,
1026+
::schemars::JsonSchema,
1027+
CosmwasmExt,
1028+
)]
1029+
#[proto_message(type_url = "/osmosis.incentives.QueryGaugesByPoolIDRequest")]
1030+
#[proto_query(
1031+
path = "/osmosis.incentives.Query/GaugesByPoolID",
1032+
response_type = QueryGaugesByPoolIdResponse
1033+
)]
1034+
pub struct QueryGaugesByPoolIdRequest {
1035+
#[prost(uint64, tag = "1")]
1036+
#[serde(alias = "ID")]
1037+
#[serde(
1038+
serialize_with = "crate::serde::as_str::serialize",
1039+
deserialize_with = "crate::serde::as_str::deserialize"
1040+
)]
1041+
pub id: u64,
1042+
/// Pagination defines pagination for the request
1043+
#[prost(message, optional, tag = "2")]
1044+
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
1045+
}
1046+
#[allow(clippy::derive_partial_eq_without_eq)]
1047+
#[derive(
1048+
Clone,
1049+
PartialEq,
1050+
Eq,
1051+
::prost::Message,
1052+
::serde::Serialize,
1053+
::serde::Deserialize,
1054+
::schemars::JsonSchema,
1055+
CosmwasmExt,
1056+
)]
1057+
#[proto_message(type_url = "/osmosis.incentives.QueryGaugesByPoolIDResponse")]
1058+
pub struct QueryGaugesByPoolIdResponse {
1059+
#[prost(message, repeated, tag = "1")]
1060+
pub gauges: ::prost::alloc::vec::Vec<Gauge>,
1061+
/// Pagination defines pagination for the response
1062+
#[prost(message, optional, tag = "2")]
1063+
pub pagination:
1064+
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
1065+
}
1066+
#[allow(clippy::derive_partial_eq_without_eq)]
1067+
#[derive(
1068+
Clone,
1069+
PartialEq,
1070+
Eq,
1071+
::prost::Message,
1072+
::serde::Serialize,
1073+
::serde::Deserialize,
1074+
::schemars::JsonSchema,
1075+
CosmwasmExt,
1076+
)]
9471077
#[proto_message(type_url = "/osmosis.incentives.ParamsRequest")]
9481078
#[proto_query(path = "/osmosis.incentives.Query/Params", response_type = ParamsResponse)]
9491079
pub struct ParamsRequest {}
@@ -1224,6 +1354,25 @@ impl<'a, Q: cosmwasm_std::CustomQuery> IncentivesQuerier<'a, Q> {
12241354
) -> Result<QueryCurrentWeightByGroupGaugeIdResponse, cosmwasm_std::StdError> {
12251355
QueryCurrentWeightByGroupGaugeIdRequest { group_gauge_id }.query(self.querier)
12261356
}
1357+
pub fn internal_gauges(
1358+
&self,
1359+
pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
1360+
) -> Result<QueryInternalGaugesResponse, cosmwasm_std::StdError> {
1361+
QueryInternalGaugesRequest { pagination }.query(self.querier)
1362+
}
1363+
pub fn external_gauges(
1364+
&self,
1365+
pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
1366+
) -> Result<QueryExternalGaugesResponse, cosmwasm_std::StdError> {
1367+
QueryExternalGaugesRequest { pagination }.query(self.querier)
1368+
}
1369+
pub fn gauges_by_pool_id(
1370+
&self,
1371+
id: u64,
1372+
pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
1373+
) -> Result<QueryGaugesByPoolIdResponse, cosmwasm_std::StdError> {
1374+
QueryGaugesByPoolIdRequest { id, pagination }.query(self.querier)
1375+
}
12271376
pub fn params(&self) -> Result<ParamsResponse, cosmwasm_std::StdError> {
12281377
ParamsRequest {}.query(self.querier)
12291378
}

packages/osmosis-std/src/types/osmosis/lockup.rs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,47 @@ pub struct MsgSetRewardReceiverAddressResponse {
12101210
#[prost(bool, tag = "1")]
12111211
pub success: bool,
12121212
}
1213+
/// DEPRECATED
1214+
/// Following messages are deprecated but kept to support indexing.
1215+
#[allow(clippy::derive_partial_eq_without_eq)]
1216+
#[derive(
1217+
Clone,
1218+
PartialEq,
1219+
Eq,
1220+
::prost::Message,
1221+
::serde::Serialize,
1222+
::serde::Deserialize,
1223+
::schemars::JsonSchema,
1224+
CosmwasmExt,
1225+
)]
1226+
#[proto_message(type_url = "/osmosis.lockup.MsgUnlockPeriodLock")]
1227+
pub struct MsgUnlockPeriodLock {
1228+
#[prost(string, tag = "1")]
1229+
pub owner: ::prost::alloc::string::String,
1230+
#[prost(uint64, tag = "2")]
1231+
#[serde(alias = "ID")]
1232+
#[serde(
1233+
serialize_with = "crate::serde::as_str::serialize",
1234+
deserialize_with = "crate::serde::as_str::deserialize"
1235+
)]
1236+
pub id: u64,
1237+
}
1238+
#[allow(clippy::derive_partial_eq_without_eq)]
1239+
#[derive(
1240+
Clone,
1241+
PartialEq,
1242+
Eq,
1243+
::prost::Message,
1244+
::serde::Serialize,
1245+
::serde::Deserialize,
1246+
::schemars::JsonSchema,
1247+
CosmwasmExt,
1248+
)]
1249+
#[proto_message(type_url = "/osmosis.lockup.MsgUnlockTokens")]
1250+
pub struct MsgUnlockTokens {
1251+
#[prost(string, tag = "1")]
1252+
pub owner: ::prost::alloc::string::String,
1253+
}
12131254
pub struct LockupQuerier<'a, Q: cosmwasm_std::CustomQuery> {
12141255
querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>,
12151256
}

packages/osmosis-std/src/types/osmosis/protorev/v1beta1.rs

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,8 @@ pub struct MsgSetBaseDenoms {
13951395
#[prost(message, repeated, tag = "2")]
13961396
pub base_denoms: ::prost::alloc::vec::Vec<BaseDenom>,
13971397
}
1398-
/// MsgSetBaseDenomsResponse defines the Msg/SetBaseDenoms response type.
1398+
/// Deprecated, but must be retained in the file to allow indexers
1399+
/// to index blocks since genesis
13991400
#[allow(clippy::derive_partial_eq_without_eq)]
14001401
#[derive(
14011402
Clone,
@@ -1409,6 +1410,27 @@ pub struct MsgSetBaseDenoms {
14091410
)]
14101411
#[proto_message(type_url = "/osmosis.protorev.v1beta1.MsgSetBaseDenomsResponse")]
14111412
pub struct MsgSetBaseDenomsResponse {}
1413+
/// MsgSetPoolWeights defines the Msg/SetPoolWeights request type.
1414+
#[allow(clippy::derive_partial_eq_without_eq)]
1415+
#[derive(
1416+
Clone,
1417+
PartialEq,
1418+
Eq,
1419+
::prost::Message,
1420+
::serde::Serialize,
1421+
::serde::Deserialize,
1422+
::schemars::JsonSchema,
1423+
CosmwasmExt,
1424+
)]
1425+
#[proto_message(type_url = "/osmosis.protorev.v1beta1.MsgSetPoolWeights")]
1426+
pub struct MsgSetPoolWeights {
1427+
/// admin is the account that is authorized to set the pool weights.
1428+
#[prost(string, tag = "1")]
1429+
pub admin: ::prost::alloc::string::String,
1430+
/// pool_weights is the list of pool weights to set.
1431+
#[prost(message, optional, tag = "2")]
1432+
pub pool_weights: ::core::option::Option<PoolWeights>,
1433+
}
14121434
pub struct ProtorevQuerier<'a, Q: cosmwasm_std::CustomQuery> {
14131435
querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>,
14141436
}

packages/proto-build/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use proto_build::{
1414
const COSMOS_SDK_REV: &str = "v0.50.6-v26-osmo-2";
1515

1616
/// The osmosis commit or tag to be cloned and used to build the proto files
17-
const OSMOSIS_REV: &str = "v26.0.1";
17+
const OSMOSIS_REV: &str = "v27.0.1";
1818

1919
/// The wasmd commit or tag to be cloned and used to build the proto files
2020
const WASMD_REV: &str = "v0.53.0";

0 commit comments

Comments
 (0)