Skip to content

Commit

Permalink
bump to v0.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iboss-ptk committed Dec 11, 2024
1 parent 323a3bc commit 255e72a
Show file tree
Hide file tree
Showing 8 changed files with 347 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dependencies/osmosis
Submodule osmosis updated 1049 files
2 changes: 1 addition & 1 deletion packages/osmosis-std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"
name = "osmosis-std"
repository = "https://github.com/osmosis-labs/osmosis-rust/"
version = "0.26.0"
version = "0.27.0"

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

Expand Down
2 changes: 1 addition & 1 deletion packages/osmosis-std/src/types/OSMOSIS_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v26.0.1
v27.0.1
149 changes: 149 additions & 0 deletions packages/osmosis-std/src/types/osmosis/incentives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,136 @@ pub struct GaugeWeight {
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.incentives.QueryInternalGaugesRequest")]
#[proto_query(
path = "/osmosis.incentives.Query/InternalGauges",
response_type = QueryInternalGaugesResponse
)]
pub struct QueryInternalGaugesRequest {
/// Pagination defines pagination for the request
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.incentives.QueryInternalGaugesResponse")]
pub struct QueryInternalGaugesResponse {
#[prost(message, repeated, tag = "1")]
pub gauges: ::prost::alloc::vec::Vec<Gauge>,
/// Pagination defines pagination for the response
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.incentives.QueryExternalGaugesRequest")]
#[proto_query(
path = "/osmosis.incentives.Query/ExternalGauges",
response_type = QueryExternalGaugesResponse
)]
pub struct QueryExternalGaugesRequest {
/// Pagination defines pagination for the request
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.incentives.QueryExternalGaugesResponse")]
pub struct QueryExternalGaugesResponse {
#[prost(message, repeated, tag = "1")]
pub gauges: ::prost::alloc::vec::Vec<Gauge>,
/// Pagination defines pagination for the response
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.incentives.QueryGaugesByPoolIDRequest")]
#[proto_query(
path = "/osmosis.incentives.Query/GaugesByPoolID",
response_type = QueryGaugesByPoolIdResponse
)]
pub struct QueryGaugesByPoolIdRequest {
#[prost(uint64, tag = "1")]
#[serde(alias = "ID")]
#[serde(
serialize_with = "crate::serde::as_str::serialize",
deserialize_with = "crate::serde::as_str::deserialize"
)]
pub id: u64,
/// Pagination defines pagination for the request
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.incentives.QueryGaugesByPoolIDResponse")]
pub struct QueryGaugesByPoolIdResponse {
#[prost(message, repeated, tag = "1")]
pub gauges: ::prost::alloc::vec::Vec<Gauge>,
/// Pagination defines pagination for the response
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.incentives.ParamsRequest")]
#[proto_query(path = "/osmosis.incentives.Query/Params", response_type = ParamsResponse)]
pub struct ParamsRequest {}
Expand Down Expand Up @@ -1224,6 +1354,25 @@ impl<'a, Q: cosmwasm_std::CustomQuery> IncentivesQuerier<'a, Q> {
) -> Result<QueryCurrentWeightByGroupGaugeIdResponse, cosmwasm_std::StdError> {
QueryCurrentWeightByGroupGaugeIdRequest { group_gauge_id }.query(self.querier)
}
pub fn internal_gauges(
&self,
pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
) -> Result<QueryInternalGaugesResponse, cosmwasm_std::StdError> {
QueryInternalGaugesRequest { pagination }.query(self.querier)
}
pub fn external_gauges(
&self,
pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
) -> Result<QueryExternalGaugesResponse, cosmwasm_std::StdError> {
QueryExternalGaugesRequest { pagination }.query(self.querier)
}
pub fn gauges_by_pool_id(
&self,
id: u64,
pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
) -> Result<QueryGaugesByPoolIdResponse, cosmwasm_std::StdError> {
QueryGaugesByPoolIdRequest { id, pagination }.query(self.querier)
}
pub fn params(&self) -> Result<ParamsResponse, cosmwasm_std::StdError> {
ParamsRequest {}.query(self.querier)
}
Expand Down
41 changes: 41 additions & 0 deletions packages/osmosis-std/src/types/osmosis/lockup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,47 @@ pub struct MsgSetRewardReceiverAddressResponse {
#[prost(bool, tag = "1")]
pub success: bool,
}
/// DEPRECATED
/// Following messages are deprecated but kept to support indexing.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.lockup.MsgUnlockPeriodLock")]
pub struct MsgUnlockPeriodLock {
#[prost(string, tag = "1")]
pub owner: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
#[serde(alias = "ID")]
#[serde(
serialize_with = "crate::serde::as_str::serialize",
deserialize_with = "crate::serde::as_str::deserialize"
)]
pub id: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.lockup.MsgUnlockTokens")]
pub struct MsgUnlockTokens {
#[prost(string, tag = "1")]
pub owner: ::prost::alloc::string::String,
}
pub struct LockupQuerier<'a, Q: cosmwasm_std::CustomQuery> {
querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>,
}
Expand Down
24 changes: 23 additions & 1 deletion packages/osmosis-std/src/types/osmosis/protorev/v1beta1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,8 @@ pub struct MsgSetBaseDenoms {
#[prost(message, repeated, tag = "2")]
pub base_denoms: ::prost::alloc::vec::Vec<BaseDenom>,
}
/// MsgSetBaseDenomsResponse defines the Msg/SetBaseDenoms response type.
/// Deprecated, but must be retained in the file to allow indexers
/// to index blocks since genesis
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
Expand All @@ -1409,6 +1410,27 @@ pub struct MsgSetBaseDenoms {
)]
#[proto_message(type_url = "/osmosis.protorev.v1beta1.MsgSetBaseDenomsResponse")]
pub struct MsgSetBaseDenomsResponse {}
/// MsgSetPoolWeights defines the Msg/SetPoolWeights request type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/osmosis.protorev.v1beta1.MsgSetPoolWeights")]
pub struct MsgSetPoolWeights {
/// admin is the account that is authorized to set the pool weights.
#[prost(string, tag = "1")]
pub admin: ::prost::alloc::string::String,
/// pool_weights is the list of pool weights to set.
#[prost(message, optional, tag = "2")]
pub pool_weights: ::core::option::Option<PoolWeights>,
}
pub struct ProtorevQuerier<'a, Q: cosmwasm_std::CustomQuery> {
querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>,
}
Expand Down
2 changes: 1 addition & 1 deletion packages/proto-build/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use proto_build::{
const COSMOS_SDK_REV: &str = "v0.50.6-v26-osmo-2";

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

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

0 comments on commit 255e72a

Please sign in to comment.