Skip to content

Commit

Permalink
use 'sp_core::Hxxx' for all hash types (paritytech#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdw committed Aug 17, 2022
1 parent 2fe9a14 commit 4f39f6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions codegen/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,18 @@ impl RuntimeGenerator {
"sp_core::crypto::AccountId32",
parse_quote!(::subxt::ext::sp_core::crypto::AccountId32),
),
(
"primitive_types::H160",
parse_quote!(::subxt::ext::sp_core::H160),
),
(
"primitive_types::H256",
parse_quote!(::subxt::ext::sp_core::H256),
),
(
"primitive_types::H512",
parse_quote!(::subxt::ext::sp_core::H512),
),
(
"sp_runtime::multiaddress::MultiAddress",
parse_quote!(::subxt::ext::sp_runtime::MultiAddress),
Expand Down

0 comments on commit 4f39f6f

Please sign in to comment.