Why not store the extension in the header log digest? #306
Replies: 1 comment 1 reply
-
Hey @boundless-forest , thank you for this insightful question regarding our implementation. Your observations about why the extension wasn't stored in the header log digest, despite its ability to hold custom data, is quite interesting. Here's a detailed explanation of our design choices:
It's important to note that both approaches, storing the extension in the header log digest or in its current form, could technically work. The choice we made reflects a series of strategic decisions, prioritizing certain aspects over others based on our specific requirements and long-term vision for the system. I hope this response clarifies the design choices we made in implementing the avail node. We appreciate your engagement and the depth of your inquiry, as it reflects a keen understanding of the complexities involved in blockchain technology development. |
Beta Was this translation helpful? Give feedback.
-
After looking through the implementation of the avail node, I noticed that you guys forked the substrate system pallet to add an extension that contains the critical field to achieve data verification, it's a critical design of the avail. I have a puzzle that why not store this extension in the header log digest which support putting custom data inside the header, seems like a better solution rather than changing the original substrate header, which will bring increased maintainness burden in the long future. Maybe I am missing something else here.
Beta Was this translation helpful? Give feedback.
All reactions