paritytech / frame-decode

Deocde extrinsics and storage entries from runtimes using frame-metadata
Apache License 2.0
6 stars 0 forks source link

Add end to end decode examples #3

Open jsdw opened 1 month ago

jsdw commented 1 month ago

It'd be great if we had a couple of example binaries in this folder which use the absolute minimum of code to decode a specific block or storage entry from an RPC node.

Perhaps we'll end up with two separate commands/binaries like:

These commands wouldn't do anything clever or have great error handling or whatever; just print basic information on decoding. To see the required logic we can look at the more complicated subcommands in https://github.com/jsdw/polkadot-historic-decoding-example/tree/main/src/commands.

Polkadot-Forum commented 1 month ago

This issue has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/decoding-old-and-new-blocks-and-storage-entries-in-rust-october-2024-update/10276/1