Skip to content

Commit

Permalink
feat: add TypeUrl for some of structs from /cosmos.tx.v1beta1 namespa…
Browse files Browse the repository at this point in the history
…ce (#384)
  • Loading branch information
xoac authored Apr 17, 2023
1 parent 3672ac1 commit 5633f12
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions cosmos-sdk-proto/src/type_urls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,30 @@ impl TypeUrl for cosmos::auth::v1beta1::ModuleAccount {
const TYPE_URL: &'static str = "/cosmos.auth.v1beta1.ModuleAccount";
}

impl TypeUrl for cosmos::tx::v1beta1::Tx {
const TYPE_URL: &'static str = "/cosmos.tx.v1beta1.Tx";
}

impl TypeUrl for cosmos::tx::v1beta1::AuthInfo {
const TYPE_URL: &'static str = "/cosmos.tx.v1beta1.AuthInfo";
}

impl TypeUrl for cosmos::tx::v1beta1::Fee {
const TYPE_URL: &'static str = "/cosmos.tx.v1beta1.Fee";
}

impl TypeUrl for cosmos::tx::v1beta1::TxBody {
const TYPE_URL: &'static str = "/cosmos.tx.v1beta1.TxBody";
}

impl TypeUrl for cosmos::tx::v1beta1::SignerInfo {
const TYPE_URL: &'static str = "/cosmos.tx.v1beta1.SingerInfo";
}

impl TypeUrl for cosmos::tx::v1beta1::ModeInfo {
const TYPE_URL: &'static str = "/cosmos.tx.v1beta1.ModeInfo";
}

#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgStoreCode {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgStoreCode";
Expand Down

0 comments on commit 5633f12

Please sign in to comment.