aztec-packages
aztec-packages copied to clipboard
feat: Allow fetching sibling path from the node given leaf value instead of index
Today PXE usually calls findLeafIndex followed by getSiblingPath given the result. We should add a method to batch both together and eliminate a roundtrip. Consider getSiblingPathByValue(blockNumber, treeId, value).