Optimize merkle proofs for efficient verification in Solidity (#12857)

* Sort hashes when generating & verifying MMR proofs

* Remove unused variables

* Double-hash leaves in beefy-merkle-tree

* Revert "Double-hash leaves in beefy-merkle-tree"

This reverts commit f788f5ed85e575a866639316aaef29dffbcd1c8c.

* Retry Polkadot companion CI jobs
This commit is contained in:
David Dunn
2023-01-12 07:23:57 +02:00
committed by GitHub
parent ff5c46c510
commit c077597afb
3 changed files with 31 additions and 28 deletions
@@ -164,7 +164,8 @@ pub mod pallet {
+ codec::Codec
+ codec::EncodeLike
+ scale_info::TypeInfo
+ MaxEncodedLen;
+ MaxEncodedLen
+ PartialOrd;
/// Data stored in the leaf nodes.
///