From 5a5f346f9d3d7233ff7d91d84ded3327cabed128 Mon Sep 17 00:00:00 2001 From: Supanat Potiwarakorn Date: Tue, 17 Oct 2023 11:49:25 +0700 Subject: [PATCH] add pubkey --- packages/osmosis-std/src/shim.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/osmosis-std/src/shim.rs b/packages/osmosis-std/src/shim.rs index 2633db5d..19ae7e30 100644 --- a/packages/osmosis-std/src/shim.rs +++ b/packages/osmosis-std/src/shim.rs @@ -297,6 +297,12 @@ expand_as_any!( // accounts have distincted structure crate::types::cosmos::auth::v1beta1::BaseAccount, crate::types::cosmos::auth::v1beta1::ModuleAccount, + // pubkey required for base account + // it can't be distinced by structure + // so deserialing it back might not work properly + crate::types::cosmos::crypto::secp256k1::PubKey, + crate::types::cosmos::crypto::secp256r1::PubKey, + crate::types::cosmos::crypto::ed25519::PubKey, ); macro_rules! impl_prost_types_exact_conversion {