mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-08 01:57:22 +00:00
ff439ee335
* Move MMR utils methods from pallet to primitives Signed-off-by: Serban Iorga <serban@parity.io> * Add method to MmrApi * Move forks expanding logic from babe to primitives * Implement MMR gadget * Remove prunning logic from the MMR pallet * Code review changes: 1st iteration * Replace MaybeCanonEngine with CanonEngineBuilder * fix mmr_leaves_count() for kitchen sink demo * Update client/merkle-mountain-range/src/canon_engine.rs Co-authored-by: Adrian Catangiu <adrian@parity.io> * Code review changes: 2nd iteration * fix INDEXING_PREFIX * impl review comments * add documentation and minor rename Signed-off-by: Serban Iorga <serban@parity.io> Co-authored-by: Adrian Catangiu <adrian@parity.io>
33 lines
1.5 KiB
TOML
33 lines
1.5 KiB
TOML
[package]
|
|
name = "mmr-gadget"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
repository = "https://github.com/paritytech/substrate"
|
|
description = "MMR Client gadget for substrate"
|
|
homepage = "https://substrate.io"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0" }
|
|
futures = "0.3"
|
|
log = "0.4"
|
|
beefy-primitives = { version = "4.0.0-dev", path = "../../primitives/beefy" }
|
|
sc-client-api = { version = "4.0.0-dev", path = "../api" }
|
|
sp-api = { version = "4.0.0-dev", path = "../../primitives/api" }
|
|
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
|
|
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
|
|
sp-core = { version = "7.0.0", path = "../../primitives/core" }
|
|
sp-io = { version = "7.0.0", path = "../../primitives/io" }
|
|
sp-mmr-primitives = { version = "4.0.0-dev", path = "../../primitives/merkle-mountain-range" }
|
|
sc-offchain = { version = "4.0.0-dev", path = "../offchain" }
|
|
sp-runtime = { version = "7.0.0", path = "../../primitives/runtime" }
|
|
|
|
[dev-dependencies]
|
|
tokio = "1.17.0"
|
|
sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" }
|
|
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
|
|
async-std = { version = "1.11.0", default-features = false }
|