Two calls with the same height and namespace can return different IDs.
You can fit the definition by considering only finalized blocks for height. I would imagine it may be slightly annoying for Avail since it uses BABE & GRANDPA which is pretty fast most of the time. In Ethereum however finality time is way longer.
Am I missing something?
What is the suggested way to handle non-finalized chain heads?
What's the game of plan of Avail, if known.
Are there plans to change the API to accomodate non-single-slot-finality chains?
It's not clear how the forks are going to be handled. Given the following function:
https://github.com/rollkit/go-da/blob/011ba6919abc161b0703d1e3d87b45adf2f96464/da.go#L16-L17
Two calls with the same height and namespace can return different IDs.
You can fit the definition by considering only finalized blocks for
height
. I would imagine it may be slightly annoying for Avail since it uses BABE & GRANDPA which is pretty fast most of the time. In Ethereum however finality time is way longer.