Skip to content

Conversation

@kariy
Copy link
Member

@kariy kariy commented Dec 19, 2024

This is so that when we return the MultiProof value from the RPC, the resultant list will be ordered from root to leaves. This is mainly to support using pathfinder proofs verification logic in snos where the nodes are not paired with its hash and are assumed to be arranged in the certain order.

https://github.com/cartridge-gg/snos/blob/811f2201516d9430c28d94c97ff2902ba9adf86a/crates/rpc-client/src/pathfinder/proofs.rs#L109-L126

TODO: add more elaboration for future reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants