Skip to content

Commit

Permalink
fix(secret): add type names
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-3 committed Dec 23, 2023
1 parent b52e5bc commit a7e70d5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions cosmos-sdk-proto/src/type_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,30 @@ impl_name!(
"ModeInfo"
);

#[cfg(feature = "secret-cosmwasm")]
mod secret {
use super::full_name;
use crate::{secret, traits::Name};

const SECRET_PACKAGE: &str = "secret.compute.v1beta1";

impl_name!(
secret::compute::v1beta1::MsgStoreCode,
SECRET_PACKAGE,
"MsgStoreCode"
);
impl_name!(
secret::compute::v1beta1::MsgInstantiateContract,
SECRET_PACKAGE,
"MsgInstantiateContract"
);
impl_name!(
secret::compute::v1beta1::MsgExecuteContract,
SECRET_PACKAGE,
"MsgExecuteContract"
);
}

#[cfg(feature = "cosmwasm")]
mod wasm {
use super::full_name;
Expand Down

0 comments on commit a7e70d5

Please sign in to comment.