List view
# The Vision Tools like Subxt, scale-encode, scale-decode, scale-value etc are all designed to help people interact with Substrate nodes. However, these all rely on V14+ metadata for encoding and decoding things. AFAIK the only way to decode historic blocks and such is to use Polkadot.js, which evolved alongside Substrate to support such things. It'd be great if we could provide at least some of this functionality in pure rust, eg beign able to decode blocks. I wonder whether there's any way to construct a type registry at runtime based on the type information provided which supplements older metadata versions, and spit out some patched-together V14+ metadata as a result. Or perhaps we just need to maintain a different interface to different metadata versions and support using any of them to help decoe things (as presently done). In any case, there will be potential to update these libraries to use eg `scale-value::Value` and such, to make them more compatible with these other crates. # The plan - At this point the plan is simply to investigate; look at what is currently there and work out what needs adding/changing to get everything working and uptodate with our latest metadata decoding libraries.
Overdue by 2 year(s)•Due by January 30, 2024•0/1 issues closed