Skip to content

Commit

Permalink
update std derive
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrobot committed Oct 14, 2024
1 parent 5be805c commit 1a9c24b
Show file tree
Hide file tree
Showing 28 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/auth/module/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Module is the config object for the auth module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/auth/v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// BaseAccount defines a base account type. It contains all the necessary fields
/// for basic account functionality. Any custom account type should extend this
/// type for additional functionality (e.g. vesting).
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/authz/module/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Module is the config object of the authz module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/authz/v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// GenericAuthorization gives the grantee unrestricted permissions to execute
/// the provided method on behalf of the granter's account.
#[allow(clippy::derive_partial_eq_without_eq)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/bank/module/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Module is the config object of the bank module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/bank/v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// SendAuthorization allows the grantee to spend up to spend_limit coins from
/// the granter's account.
///
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// ConfigRequest defines the request structure for the Config gRPC query.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// PageRequest is to be embedded in gRPC request messages for efficient
/// pagination. Ex:
///
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/base/v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Coin defines a token with a denomination and an amount.
///
/// NOTE: The amount field is an Int which implements the custom method
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Module is the config object of the distribution module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Params defines the set of params for the distribution module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Module is the config object of the feegrant module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// BasicAllowance implements Allowance with a one-time grant of coins
/// that optionally expires. The grantee can use up to SpendLimit to cover fees.
#[allow(clippy::derive_partial_eq_without_eq)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/gov/module/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Module is the config object of the gov module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/gov/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// WeightedVoteOption defines a unit of vote for vote split.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/gov/v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// WeightedVoteOption defines a unit of vote for vote split.
///
/// Since: cosmos-sdk 0.43
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Module is the config object of the params module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/params/v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// ParameterChangeProposal defines a proposal to change one or more parameters.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmos/staking/v1beta1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// NOTE: The following type is not implemented due to current limitations of code generator
/// which currently has issue with tendermint_proto.
/// This will be fixed in the upcoming release.
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/cosmwasm/wasm/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// AccessTypeParam
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
#[proto_message(type_url = "/injective.auction.v1beta1.Params")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// spot authz messages
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
Expand Down Expand Up @@ -4928,7 +4928,7 @@ pub struct FullDerivativeMarket {
}
/// Nested message and enum types in `FullDerivativeMarket`.
pub mod full_derivative_market {
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Oneof, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema)]
pub enum Info {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]

Check failure on line 3 in packages/injective-std/src/types/injective/insurance/v1beta1.rs

View workflow job for this annotation

GitHub Actions / Lints

the trait `std::marker::Copy` cannot be implemented for this type

Check failure on line 3 in packages/injective-std/src/types/injective/insurance/v1beta1.rs

View workflow job for this annotation

GitHub Actions / Lints

the trait `std::marker::Copy` cannot be implemented for this type
#[proto_message(type_url = "/injective.insurance.v1beta1.Params")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
#[proto_message(type_url = "/injective.oracle.v1beta1.Params")]
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/injective/peggy/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// Attestation is an aggregate of `claims` that eventually becomes `observed` by
/// all orchestrators
/// EVENT_NONCE:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
#[proto_message(type_url = "/injective.permissions.v1beta1.EventSetVoucher")]
Expand Down Expand Up @@ -323,7 +323,7 @@ pub struct MsgUpdateNamespace {
}
/// Nested message and enum types in `MsgUpdateNamespace`.
pub mod msg_update_namespace {
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
#[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
/// DenomAuthorityMetadata specifies metadata for addresses that have specific
/// capabilities over a token factory denom. Right now there is only one Admin
/// permission, but is planned to be extended to the future.
Expand Down
2 changes: 1 addition & 1 deletion packages/injective-std/src/types/injective/wasmx/v1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use osmosis_std_derive::CosmwasmExt;
use injective_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
#[proto_message(type_url = "/injective.wasmx.v1.ContractRegistrationRequestProposal")]
Expand Down

0 comments on commit 1a9c24b

Please sign in to comment.