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

Downloads
26.9K
Stars
58
Committers
13

Bot releases are hidden (Show)

subwasm - v0.10.0

Published by chevdor over 3 years ago

  • Add (de)compression support
  • Add Karura [@xlc ]
  • Add new clean script
  • Move integration tests to the right folder
  • Add statemine and westmint
  • Add comvenience --json flag for the meta command
  • Add shorter aliases for the chains
subwasm - v0.9.0

Published by chevdor over 3 years ago

  • new raw differ method
  • new internal options in the raw differ to reduce the amount of output for the diff
  • new --block flag for the meta and info commands
  • additionnal endpoints for the various chains
  • various bug fixes and minor improvements
subwasm - v0.8.0

Published by chevdor over 3 years ago

  • The meta command can now show the list of modules or one specific one
  • new metadata --module to filter and show a single module
  • Add v13 and v14 simple querying
subwasm - v0.7.0

Published by chevdor over 3 years ago

  • add blake2-256 hash
  • add IPFS hash
  • add --chain flag to the diff and metadata commands
  • add a logger
subwasm - v0.5.0

Published by chevdor over 3 years ago

  • add a --chain flag to simply usage for get and info
  • add demos (gif)
  • workaround for a Rust stdio bug that occurs when piping the output to a command such as head
subwasm - v0.6.0

Published by chevdor over 3 years ago

Besides some cleanup, this version introduces changes related to the options and flags you can pass to the cli.

  • many of the named flags have been removed. For instance subwasm diff -a r1.wasm -b r2.wasm now becomes subwasm diff r1.wasm r2.wasm, subwasm get --url http://foo:9933 becomes subwasm get http://foo:9933.
  • new root level flag: --json will allow producing json output. This changes the behavior of the ìnfo` command
subwasm - v0.3.0

Published by chevdor over 3 years ago

Add a LoggerMock to allow decoding runtimes with logging enabled.

subwasm - v0.4.0

Published by chevdor over 3 years ago

  • new option aliases: --in for --input, --out for --output
  • improved the data reported by the info command
  • new diff command allowing to compare local and onchain runtimes
subwasm - v0.2.0

Published by chevdor over 3 years ago

This version mainly gets rid of our mini rpc-client and switches to using jsonrpsee.

  • the metadata command is now aliased to meta so users can use both
  • rpc-client has been removed and replaced by jsonrpsee
  • using WebSockets is now supported
  • the nighlty requirements have been removed, the project now builds on rust stable

MacOS users can install using Homebrew:

brew tap chevdor/subwasm
brew install subwasm
subwasm - v0.1.0

Published by chevdor over 3 years ago

The first published version. You can install with:

cargo +nightly install --git https://gitlab.com/chevdor/subwasm

Check out the README for more details and the currently supported features.