mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 13:57:58 +00:00
expose linked map info to metadata (#2037)
* expose linked map info to metadata * Make it non breaking change * another way * change to option 1 * bump metadata version * fix test * bump version and update wasm
This commit is contained in:
@@ -700,12 +700,13 @@ fn store_functions_to_metadata (
|
||||
)
|
||||
}
|
||||
},
|
||||
DeclStorageTypeInfosKind::Map { key_type, .. } => {
|
||||
DeclStorageTypeInfosKind::Map { key_type, is_linked } => {
|
||||
let kty = clean_type_string("e!(#key_type).to_string());
|
||||
quote!{
|
||||
#scrate::storage::generator::StorageFunctionType::Map {
|
||||
key: #scrate::storage::generator::DecodeDifferent::Encode(#kty),
|
||||
value: #scrate::storage::generator::DecodeDifferent::Encode(#styp),
|
||||
is_linked: #is_linked,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user