NethermindEth / juno

Starknet client implementation.
https://juno.nethermind.io
Apache License 2.0
371 stars 158 forks source link

Update VerifyProof to use key rather than keyFelt #1891

Closed rianhughes closed 2 weeks ago

rianhughes commented 3 weeks ago

Th proof logic currently only supports leaf keys, it should be updated so that we can generate and verify proofs of inner nodes (which requires using keys rather than felts). I will also add tests to generate and verify proofs of non-set leaf keys. This means that the Generate and Verify proof logic should be able to handle all scenarios.