Skip to content

Commit f443ef4

Browse files
committed
update osmosis-std to v22
1 parent 1be4d64 commit f443ef4

File tree

20 files changed

+29
-55
lines changed

20 files changed

+29
-55
lines changed

dependencies/osmosis

Submodule osmosis updated 1099 files

packages/osmosis-std/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ description = "Standard library for Osmosis with CosmWasm support included"
33
edition = "2021"
44
license = "MIT OR Apache-2.0"
55
name = "osmosis-std"
6-
version = "0.21.0"
6+
repository = "https://github.com/osmosis-labs/osmosis-rust/"
7+
version = "0.22.0"
78

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v21.0.0
1+
v22.0.0

packages/osmosis-std/src/types/osmosis/concentratedliquidity/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub struct Params {
3636
pub balancer_shares_reward_discount: ::prost::alloc::string::String,
3737
/// authorized_quote_denoms is a list of quote denoms that can be used as
3838
/// token1 when creating a pool. We limit the quote assets to a small set for
39-
/// the purposes of having convinient price increments stemming from tick to
39+
/// the purposes of having convenient price increments stemming from tick to
4040
/// price conversion. These increments are in a human readable magnitude only
4141
/// for token1 as a quote. For limit orders in the future, this will be a
4242
/// desirable property in terms of UX as to allow users to set limit orders at

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ pub struct GenesisState {
349349
/// params are all the parameters of the module
350350
#[prost(message, optional, tag = "1")]
351351
pub params: ::core::option::Option<super::Params>,
352-
/// pool data containining serialized pool struct and ticks.
352+
/// pool data containing serialized pool struct and ticks.
353353
#[prost(message, repeated, tag = "2")]
354354
pub pool_data: ::prost::alloc::vec::Vec<PoolData>,
355355
#[prost(message, repeated, tag = "3")]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ pub struct CosmWasmPool {
495495
)]
496496
#[proto_message(type_url = "/osmosis.cosmwasmpool.v1beta1.GetSwapFeeQueryMsg")]
497497
pub struct GetSwapFeeQueryMsg {
498-
/// get_swap_fee is the query strcuture to get swap fee.
498+
/// get_swap_fee is the query structure to get swap fee.
499499
#[prost(message, optional, tag = "1")]
500500
pub get_swap_fee: ::core::option::Option<EmptyStruct>,
501501
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ pub struct QuerySpotPriceRequest {
12301230
response_type = QueryPoolsWithFilterResponse
12311231
)]
12321232
pub struct QueryPoolsWithFilterRequest {
1233-
/// String of the coins in single string seperated by comma. Ex)
1233+
/// String of the coins in single string separated by comma. Ex)
12341234
/// 10uatom,100uosmo
12351235
#[prost(string, tag = "1")]
12361236
pub min_liquidity: ::prost::alloc::string::String,

packages/osmosis-std/src/types/osmosis/gamm/v2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub struct QuerySpotPriceRequest {
3030
#[prost(string, tag = "3")]
3131
pub quote_asset_denom: ::prost::alloc::string::String,
3232
}
33-
/// Depreacted: please use alternate in x/poolmanager
33+
/// Deprecated: please use alternate in x/poolmanager
3434
#[allow(clippy::derive_partial_eq_without_eq)]
3535
#[derive(
3636
Clone,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ pub struct GenesisState {
292292
#[prost(message, repeated, tag = "2")]
293293
pub gauges: ::prost::alloc::vec::Vec<Gauge>,
294294
/// lockable_durations are all lockup durations that gauges can be locked for
295-
/// in order to recieve incentives
295+
/// in order to receive incentives
296296
#[prost(message, repeated, tag = "3")]
297297
pub lockable_durations: ::prost::alloc::vec::Vec<crate::shim::Duration>,
298298
/// last_gauge_id is what the gauge number will increment from when creating
@@ -674,7 +674,7 @@ pub struct RewardsEstRequest {
674674
)]
675675
#[proto_message(type_url = "/osmosis.incentives.RewardsEstResponse")]
676676
pub struct RewardsEstResponse {
677-
/// Estimated coin rewards that will be recieved at provided address
677+
/// Estimated coin rewards that will be received at provided address
678678
/// from specified locks between current time and end epoch
679679
#[prost(message, repeated, tag = "1")]
680680
pub coins: ::prost::alloc::vec::Vec<super::super::cosmos::base::v1beta1::Coin>,
@@ -709,7 +709,7 @@ pub struct QueryLockableDurationsRequest {}
709709
)]
710710
#[proto_message(type_url = "/osmosis.incentives.QueryLockableDurationsResponse")]
711711
pub struct QueryLockableDurationsResponse {
712-
/// Time durations that users can lock coins for in order to recieve rewards
712+
/// Time durations that users can lock coins for in order to receive rewards
713713
#[prost(message, repeated, tag = "1")]
714714
pub lockable_durations: ::prost::alloc::vec::Vec<crate::shim::Duration>,
715715
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ pub struct GenesisState {
144144
/// minter is an abstraction for holding current rewards information.
145145
#[prost(message, optional, tag = "1")]
146146
pub minter: ::core::option::Option<Minter>,
147-
/// params defines all the paramaters of the mint module.
147+
/// params defines all the parameters of the mint module.
148148
#[prost(message, optional, tag = "2")]
149149
pub params: ::core::option::Option<Params>,
150150
/// reduction_started_epoch is the first epoch in which the reduction of mint

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ pub struct ConcentratedPoolToNoLockGauges {
152152
)]
153153
#[proto_message(type_url = "/osmosis.poolincentives.v1beta1.GenesisState")]
154154
pub struct GenesisState {
155-
/// params defines all the paramaters of the module.
155+
/// params defines all the parameters of the module.
156156
#[prost(message, optional, tag = "1")]
157157
pub params: ::core::option::Option<Params>,
158158
#[prost(message, repeated, tag = "2")]

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ pub struct Params {
389389
pub taker_fee_params: ::core::option::Option<TakerFeeParams>,
390390
/// authorized_quote_denoms is a list of quote denoms that can be used as
391391
/// token1 when creating a concentrated pool. We limit the quote assets to a
392-
/// small set for the purposes of having convinient price increments stemming
392+
/// small set for the purposes of having convenient price increments stemming
393393
/// from tick to price conversion. These increments are in a human readable
394394
/// magnitude only for token1 as a quote. For limit orders in the future, this
395395
/// will be a desirable property in terms of UX as to allow users to set limit
@@ -453,7 +453,7 @@ pub struct TakerFeeParams {
453453
#[prost(string, tag = "1")]
454454
pub default_taker_fee: ::prost::alloc::string::String,
455455
/// osmo_taker_fee_distribution defines the distribution of taker fees
456-
/// generated in OSMO. As of this writing, it has two catagories:
456+
/// generated in OSMO. As of this writing, it has two categories:
457457
/// - staking_rewards: the percent of the taker fee that gets distributed to
458458
/// stakers.
459459
/// - community_pool: the percent of the taker fee that gets sent to the
@@ -463,7 +463,7 @@ pub struct TakerFeeParams {
463463
/// non_osmo_taker_fee_distribution defines the distribution of taker fees
464464
/// generated in non-OSMO. As of this writing, it has two categories:
465465
/// - staking_rewards: the percent of the taker fee that gets swapped to OSMO
466-
/// and then distirbuted to stakers.
466+
/// and then distributed to stakers.
467467
/// - community_pool: the percent of the taker fee that gets sent to the
468468
/// community pool. Note: If the non-OSMO asset is an authorized_quote_denom,
469469
/// that denom is sent directly to the community pool. Otherwise, it is

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ pub struct TokenPairArbRoutes {
3737
)]
3838
#[proto_message(type_url = "/osmosis.protorev.v1beta1.Route")]
3939
pub struct Route {
40-
/// The pool IDs that are travered in the directed cyclic graph (traversed left
40+
/// The pool IDs that are traversed in the directed cyclic graph (traversed
41+
/// left
4142
/// -> right)
4243
#[prost(message, repeated, tag = "1")]
4344
pub trades: ::prost::alloc::vec::Vec<Trade>,
@@ -342,8 +343,6 @@ pub struct AllProtocolRevenue {
342343
#[prost(message, optional, tag = "1")]
343344
pub taker_fees_tracker:
344345
::core::option::Option<super::super::poolmanager::v1beta1::TakerFeesTracker>,
345-
#[prost(message, optional, tag = "2")]
346-
pub tx_fees_tracker: ::core::option::Option<super::super::txfees::v1beta1::TxFeesTracker>,
347346
#[prost(message, optional, tag = "3")]
348347
pub cyclic_arb_tracker: ::core::option::Option<CyclicArbTracker>,
349348
}

packages/osmosis-std/src/types/osmosis/superfluid/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ pub struct SuperfluidIntermediaryAccount {
5858
/// The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we
5959
/// treat an LP share as having, for all of epoch N. Eventually this is intended
6060
/// to be set as the Time-weighted-average-osmo-backing for the entire duration
61-
/// of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior
62-
/// epochs rewards) However for now, this is not the TWAP but instead the spot
63-
/// price at the boundary. For different types of assets in the future, it could
64-
/// change.
61+
/// of epoch N-1. (Thereby locking what's in use for epoch N as based on the
62+
/// prior epochs rewards) However for now, this is not the TWAP but instead the
63+
/// spot price at the boundary. For different types of assets in the future, it
64+
/// could change.
6565
#[allow(clippy::derive_partial_eq_without_eq)]
6666
#[derive(
6767
Clone,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub struct Params {
6464
)]
6565
#[proto_message(type_url = "/osmosis.tokenfactory.v1beta1.GenesisState")]
6666
pub struct GenesisState {
67-
/// params defines the paramaters of the module.
67+
/// params defines the parameters of the module.
6868
#[prost(message, optional, tag = "1")]
6969
pub params: ::core::option::Option<Params>,
7070
#[prost(message, repeated, tag = "2")]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub struct TwapRecord {
5555
pub p1_arithmetic_twap_accumulator: ::prost::alloc::string::String,
5656
#[prost(string, tag = "10")]
5757
pub geometric_twap_accumulator: ::prost::alloc::string::String,
58-
/// This field contains the time in which the last spot price error occured.
58+
/// This field contains the time in which the last spot price error occurred.
5959
/// It is used to alert the caller if they are getting a potentially erroneous
6060
/// TWAP, due to an unforeseen underlying error.
6161
#[prost(message, optional, tag = "11")]

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -44,31 +44,6 @@ pub struct GenesisState {
4444
pub basedenom: ::prost::alloc::string::String,
4545
#[prost(message, repeated, tag = "2")]
4646
pub feetokens: ::prost::alloc::vec::Vec<FeeToken>,
47-
/// KVStore state
48-
#[prost(message, optional, tag = "3")]
49-
pub tx_fees_tracker: ::core::option::Option<TxFeesTracker>,
50-
}
51-
#[allow(clippy::derive_partial_eq_without_eq)]
52-
#[derive(
53-
Clone,
54-
PartialEq,
55-
Eq,
56-
::prost::Message,
57-
::serde::Serialize,
58-
::serde::Deserialize,
59-
::schemars::JsonSchema,
60-
CosmwasmExt,
61-
)]
62-
#[proto_message(type_url = "/osmosis.txfees.v1beta1.TxFeesTracker")]
63-
pub struct TxFeesTracker {
64-
#[prost(message, repeated, tag = "1")]
65-
pub tx_fees: ::prost::alloc::vec::Vec<super::super::super::cosmos::base::v1beta1::Coin>,
66-
#[prost(int64, tag = "2")]
67-
#[serde(
68-
serialize_with = "crate::serde::as_str::serialize",
69-
deserialize_with = "crate::serde::as_str::deserialize"
70-
)]
71-
pub height_accounting_starts_from: i64,
7247
}
7348
/// UpdateFeeTokenProposal is a gov Content type for adding new whitelisted fee
7449
/// token(s). It must specify a denom along with gamm pool ID to use as a spot

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,6 @@ pub struct Block {
924924
#[prost(message, optional, tag = "4")]
925925
pub last_commit: ::core::option::Option<Commit>,
926926
}
927-
928927
#[allow(clippy::derive_partial_eq_without_eq)]
929928
#[derive(
930929
Clone,

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.47.5-osmo";
1515

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

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

packages/proto-build/src/main.rs--

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ use proto_build::{
1111
};
1212

1313
/// The Cosmos SDK commit or tag to be cloned and used to build the proto files
14-
const COSMOS_SDK_REV: &str = "osmo/v0.47.5";
14+
const COSMOS_SDK_REV: &str = "v0.47.5-osmo";
1515

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

1919
/// The wasmd commit or tag to be cloned and used to build the proto files
20-
const WASMD_REV: &str = "osmo/v0.45.0";
20+
const WASMD_REV: &str = "v0.45.0-osmo";
2121

2222
/// The cometbft commit or tag to be cloned and used to build the proto files
2323
const COMETBFT_REV: &str = "v0.37.2";

0 commit comments

Comments
 (0)