availproject / avail

774 stars 536 forks source link

Empty commitments for blocks without any DA extrinsics #519

Closed ToufeeqP closed 7 months ago

ToufeeqP commented 7 months ago

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

Description

The commitments will be empty with grid dimension [0,0] for blocks without any DA transactions. This is also the case if for any reason commitment generation fails. In both scenarios, kate query_rows and query_proof RPCs return an error.

Checklist

Leouarz commented 7 months ago

you can merge, the failing benchmarking needs some update, i removed it from the main branch temporarily