Add generate and verify logic for `AncestryProof` (#4430)
Extracting the logic for generating and verifying ancestry proofs from this PR: https://github.com/paritytech/polkadot-sdk/pull/1903 with small adjustments @Lederstrumpf I added you as a co-author to each commit. Please let me know if you want me to also associate an e-mail address with your name
parent
805d54dd
Showing
- Cargo.lock 11 additions, 2 deletionsCargo.lock
- bridges/primitives/beefy/src/lib.rs 1 addition, 1 deletionbridges/primitives/beefy/src/lib.rs
- polkadot/node/service/src/fake_runtime_api.rs 3 additions, 3 deletionspolkadot/node/service/src/fake_runtime_api.rs
- polkadot/runtime/rococo/src/lib.rs 3 additions, 3 deletionspolkadot/runtime/rococo/src/lib.rs
- polkadot/runtime/test-runtime/src/lib.rs 3 additions, 3 deletionspolkadot/runtime/test-runtime/src/lib.rs
- polkadot/runtime/westend/src/lib.rs 3 additions, 3 deletionspolkadot/runtime/westend/src/lib.rs
- substrate/bin/node/runtime/src/lib.rs 3 additions, 3 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/client/merkle-mountain-range/rpc/src/lib.rs 8 additions, 8 deletionssubstrate/client/merkle-mountain-range/rpc/src/lib.rs
- substrate/client/merkle-mountain-range/src/test_utils.rs 3 additions, 3 deletionssubstrate/client/merkle-mountain-range/src/test_utils.rs
- substrate/frame/merkle-mountain-range/src/lib.rs 38 additions, 10 deletionssubstrate/frame/merkle-mountain-range/src/lib.rs
- substrate/frame/merkle-mountain-range/src/mmr/mmr.rs 74 additions, 11 deletionssubstrate/frame/merkle-mountain-range/src/mmr/mmr.rs
- substrate/frame/merkle-mountain-range/src/mmr/storage.rs 16 additions, 2 deletionssubstrate/frame/merkle-mountain-range/src/mmr/storage.rs
- substrate/frame/merkle-mountain-range/src/tests.rs 61 additions, 43 deletionssubstrate/frame/merkle-mountain-range/src/tests.rs
- substrate/primitives/merkle-mountain-range/Cargo.toml 1 addition, 1 deletionsubstrate/primitives/merkle-mountain-range/Cargo.toml
- substrate/primitives/merkle-mountain-range/src/lib.rs 23 additions, 9 deletionssubstrate/primitives/merkle-mountain-range/src/lib.rs
Please register or sign in to comment