This repository was archived by the owner on Nov 6, 2020. It is now read-only.
PIPv1 HeadersProof Result is Empty for 'Recent Blocks' #9829
Labels
F5-documentation 📑
Documentation needs fixing, improving or augmenting.
M4-core ⛓
Core client code / Rust.
Z1-question 🙋♀️
Issue is a question. Closer should answer.
Milestone
When making a PIPv1 HeadersProof request for specific block numbers, the response is empty (RLP '[]' - not a proof) for recent blocks.
Here are two requests for block 6,000,000 and 6,606,849:
and the two corresponding responses:
These are requests to my localhost archival node. The node produces valid proofs for blocks #1 and #2, as well as numerous others. Last week I noticed the same behavior (when the block chain head was less than it is now) whereby a request for a recent block produced '[]'.
I've observed the same behavior for our corporate, cloud-accessible Parity archival node(s).
[If the CHT is rebuilt periodically, then a) it should be rebuilt on demand if a request arrives for a block not yet incorporated, or b) the interface needs to state the algorithm by which one can determine if the proof will be non-existent. I'd expect 'a' - when a block is chain/announced, it has a valid proof (after all it was chained); that proof should be provided).
The text was updated successfully, but these errors were encountered: