thrumdev / blobs

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

shim: parallel submission #270

Closed pepyakin closed 8 months ago

pepyakin commented 8 months ago

rollkit demo submits a lot of blobs. In my testing I saw dozens of blobs submitted at the same time. Ofc submitting those serially won't cut it, esp. so if waiting until finalization.

This changeset solves the problem by splitting the signing part, which is still serial, and the submission, which is now parallel.

As a drive-by fix, all the errors for rollkit are now encapsulated into an enum.

Closes #259

pepyakin commented 8 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pepyakin and the rest of your teammates on Graphite Graphite