thrumdev / blobs

Blobchains on Polkadot and Kusama
https://docs-site-pi.vercel.app
Apache License 2.0
64 stars 8 forks source link

shim: add wait flag #196

Closed gabriele-0201 closed 10 months ago

gabriele-0201 commented 10 months ago

Add a struct used to contain both BlockRef and the wait flag, to make it reusable for both block and blob queries (and all other possible new queries).

The struct should be used with clap(flatten) to make all the fields appear as options in the query command.

TODOs:

closes #171

It would also be great to add something like wait-interval to specify how often the request of the block should be made (in wait_header_and_extrinsics). Currently, I've set a two-second sleep between each call

gabriele-0201 commented 10 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.