Skip to content

Commit

Permalink
cosmos-sdk-proto: impl TypeUrl for MsgTransfer (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
Magicloud committed Oct 24, 2022
1 parent cd6a758 commit 3f8535a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cosmos-sdk-proto/src/type_urls.rs
Expand Up @@ -4,7 +4,7 @@
// TODO(tarcieri): leverage first-class support for type URLs in prost?
// See: https://github.com/tokio-rs/prost/issues/299

use crate::{cosmos, traits::TypeUrl};
use crate::{cosmos, ibc, traits::TypeUrl};

#[cfg(feature = "cosmwasm")]
use crate::cosmwasm;
Expand Down Expand Up @@ -140,3 +140,7 @@ impl TypeUrl for cosmwasm::wasm::v1::MsgUpdateAdminResponse {
impl TypeUrl for cosmwasm::wasm::v1::MsgClearAdminResponse {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgClearAdminResponse";
}

impl TypeUrl for ibc::applications::transfer::v1::MsgTransfer {
const TYPE_URL: &'static str = "/ibc.applications.transfer.v1.MsgTransfer";
}

0 comments on commit 3f8535a

Please sign in to comment.