mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 08:37:56 +00:00
scale-type-resolver integration (#1460)
* start migrating, broken * first iteration of updating * fmt and clippy * add Composite<u32> decoding via scale value patch * bump scale type gen versions * fix decoding with new scale decode * fix js-sys versions * add nit comments
This commit is contained in:
@@ -169,7 +169,7 @@ pub async fn explore_storage(
|
||||
{value_str}
|
||||
"}?;
|
||||
|
||||
let key_bytes = value.encode_as_type(type_id, metadata.types())?;
|
||||
let key_bytes = value.encode_as_type(&type_id, metadata.types())?;
|
||||
let bytes_composite = Value::from_bytes(key_bytes);
|
||||
vec![bytes_composite]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user