mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 07:59:49 +00:00
improve storage build type checking (#1914)
* force build closure in decl_storage! to return explicit type * fix when type was different Note: it breaks API but it is easy to upgrade: just do the conversion from encode type to the final type yourself in the build closure: ```rust Encode::using_encoded(&value, |mut value| Decode::decode(&mut v)).unwrap(); ```
This commit is contained in:
1 parent
a81f7f48a0
commit
66bc864f29
6 files changed
+13
-10
No files matched your search
BIN
Binary file not shown.
Reference in new issue
Block a user