2

Do proofs for an asset ID change as more elements are added to Merkle Tree.

If i call getAssetProof via the DAS will the result returned become invalid when more nodes are added to the Tree.

1 Answer 1

3

Yes, the proof is dependent on the neighbor nodes and will change every time an NFT is transferred, minted, or updated. However, the concurrent merkle tree architecture tries to minimize hitting stale proofs by storing a buffer of old roots to verify against. Therefore a stale proof can still be used so long as the # of updates after the proof is fetched does not exceed the MAX_BUFFER_SIZE.

For more details on the concurrent merkle tree architecture, take a look at the Metaplex docs. https://developers.metaplex.com/bubblegum/concurrent-merkle-trees

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.