diff --git a/packages/injective-std/src/types/injective/auction/v1beta1.rs b/packages/injective-std/src/types/injective/auction/v1beta1.rs index 80938a41..12403423 100644 --- a/packages/injective-std/src/types/injective/auction/v1beta1.rs +++ b/packages/injective-std/src/types/injective/auction/v1beta1.rs @@ -23,8 +23,11 @@ pub struct Params { pub struct Bid { #[prost(string, tag = "1")] pub bidder: ::prost::alloc::string::String, - #[prost(string, tag = "2")] - pub amount: ::prost::alloc::string::String, + // #[prost(string, tag = "2")] + // pub amount: ::prost::alloc::string::String, + // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES + #[prost(message, optional, tag = "2")] + pub amount: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -34,8 +37,11 @@ pub struct LastAuctionResult { #[prost(string, tag = "1")] pub winner: ::prost::alloc::string::String, /// amount describes the amount the winner get from the auction - #[prost(string, tag = "2")] - pub amount: ::prost::alloc::string::String, + // #[prost(string, tag = "2")] + // pub amount: ::prost::alloc::string::String, + // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES + #[prost(message, optional, tag = "2")] + pub amount: ::core::option::Option, /// round defines the round number of auction #[prost(uint64, tag = "3")] #[serde( @@ -52,8 +58,11 @@ pub struct EventBid { #[prost(string, tag = "1")] pub bidder: ::prost::alloc::string::String, /// amount describes the amount the bidder put on the auction - #[prost(string, tag = "2")] - pub amount: ::prost::alloc::string::String, + // #[prost(string, tag = "2")] + // pub amount: ::prost::alloc::string::String, + // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES + #[prost(message, optional, tag = "2")] + pub amount: ::core::option::Option, /// round defines the round number of auction #[prost(uint64, tag = "3")] #[serde( @@ -70,8 +79,11 @@ pub struct EventAuctionResult { #[prost(string, tag = "1")] pub winner: ::prost::alloc::string::String, /// amount describes the amount the winner get from the auction - #[prost(string, tag = "2")] - pub amount: ::prost::alloc::string::String, + // #[prost(string, tag = "2")] + // pub amount: ::prost::alloc::string::String, + // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES + #[prost(message, optional, tag = "2")] + pub amount: ::core::option::Option, /// round defines the round number of auction #[prost(uint64, tag = "3")] #[serde(