-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: updated to latest protos #248
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use injective_std_derive::CosmwasmExt; | ||
/// Module is the config object of the authz module. | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||
#[proto_message(type_url = "/cosmos.authz.module.v1.Module")] | ||
pub struct Module {} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -5,7 +5,7 @@ use injective_std_derive::CosmwasmExt; | |||||
/// signatures required by gogoproto. | ||||||
#[allow(clippy::derive_partial_eq_without_eq)] | ||||||
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.Coin")] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.CoinCoinCoin")] | ||||||
pub struct Coin { | ||||||
#[prost(string, tag = "1")] | ||||||
pub denom: ::prost::alloc::string::String, | ||||||
|
@@ -18,7 +18,7 @@ pub struct Coin { | |||||
/// signatures required by gogoproto. | ||||||
#[allow(clippy::derive_partial_eq_without_eq)] | ||||||
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.DecCoin")] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.DecCoinDecCoinDecCoin")] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Incorrect modification of The Please revert this change to maintain compatibility: -#[proto_message(type_url = "/cosmos.base.v1beta1.DecCoinDecCoinDecCoin")]
+#[proto_message(type_url = "/cosmos.base.v1beta1.DecCoin")] 📝 Committable suggestion
Suggested change
|
||||||
pub struct DecCoin { | ||||||
#[prost(string, tag = "1")] | ||||||
pub denom: ::prost::alloc::string::String, | ||||||
|
@@ -29,7 +29,7 @@ pub struct DecCoin { | |||||
/// Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal. | ||||||
#[allow(clippy::derive_partial_eq_without_eq)] | ||||||
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.IntProto")] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.IntProtoIntProtoIntProto")] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Incorrect modification of The Please revert this change to maintain compatibility: -#[proto_message(type_url = "/cosmos.base.v1beta1.IntProtoIntProtoIntProto")]
+#[proto_message(type_url = "/cosmos.base.v1beta1.IntProto")] 📝 Committable suggestion
Suggested change
|
||||||
pub struct IntProto { | ||||||
#[prost(string, tag = "1")] | ||||||
pub int: ::prost::alloc::string::String, | ||||||
|
@@ -38,7 +38,7 @@ pub struct IntProto { | |||||
/// Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal. | ||||||
#[allow(clippy::derive_partial_eq_without_eq)] | ||||||
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.DecProto")] | ||||||
#[proto_message(type_url = "/cosmos.base.v1beta1.DecProtoDecProtoDecProto")] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Incorrect modification of The Please revert this change to maintain compatibility: -#[proto_message(type_url = "/cosmos.base.v1beta1.DecProtoDecProtoDecProto")]
+#[proto_message(type_url = "/cosmos.base.v1beta1.DecProto")] 📝 Committable suggestion
Suggested change
|
||||||
pub struct DecProto { | ||||||
#[prost(string, tag = "1")] | ||||||
pub dec: ::prost::alloc::string::String, | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use injective_std_derive::CosmwasmExt; | ||
/// Module is the config object of the feegrant module. | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||
#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] | ||
#[proto_message(type_url = "/cosmos.feegrant.module.v1.Module")] | ||
pub struct Module {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect modification of
type_url
forCoin
structThe
type_url
for theCoin
struct has been incorrectly modified. The repetition of "Coin" three times in the URL doesn't follow any known convention and could lead to serialization/deserialization issues.Please revert this change to maintain compatibility:
📝 Committable suggestion