From 6ae06674cca450affb976e518404e2663423111c Mon Sep 17 00:00:00 2001 From: Magicloud <1886157+Magicloud@users.noreply.github.com> Date: Wed, 5 Oct 2022 16:54:45 +0800 Subject: [PATCH] impl TypeUrl for MsgTransfer --- cosmos-sdk-proto/src/type_urls.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cosmos-sdk-proto/src/type_urls.rs b/cosmos-sdk-proto/src/type_urls.rs index 3652e8a7..de0db60a 100644 --- a/cosmos-sdk-proto/src/type_urls.rs +++ b/cosmos-sdk-proto/src/type_urls.rs @@ -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; @@ -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"; +}