chevdor / subwasm

Subwasm is a cli utility to look inside a Substrate WASM Runtime. It can inspect and compare the metadata of Substrate based runtimes such as Polkadot or Kusama.
MIT License
62 stars 25 forks source link

Add the possibility to return metadata in binary format. #58

Closed obsessed-cake closed 1 year ago

obsessed-cake commented 1 year ago

subxt codegen can use metadata as an input, it expect metadata in binary format, but subwasm metadata can return metadata in only JSON format.

gilescope commented 1 year ago

Yeah that might be nice. Tbh would love the rpc layer to be able to return scale as binary rather than just json encoded binary because they may as well.

chevdor commented 1 year ago

Yes I noticed that as well and agree this will be convenient. Thanks for opening this issue @obsessed-cake