0xPolygonMiden / miden-node

Reference implementation of the node for the Polygon Miden rollup
MIT License
53 stars 37 forks source link

feat(store): `GetNoteAuthenticationInfo` endpoint #421

Closed polydez closed 2 months ago

polydez commented 3 months ago

Resolves: https://github.com/0xPolygonMiden/miden-node/issues/395

This PR adds GetNoteAuthenticationInfo endpoint. Prior this we had to use GetNotesById endpoint for getting inclusion proofs, but it returns a lot of unnecessary information for such task.

Also GetBlockInputs endpoint now returns not only found requested note IDs, but also their inclusion proofs.

Mirko-von-Leipzig commented 2 months ago

Changes made - one final naming question here @bobbinth and then we're good to go I think.