Skip to content
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

impl TypeUrl for MsgTransfer #296

Merged
merged 1 commit into from Oct 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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";
}