mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 18:28:03 +00:00
ea5d8662be
* Add skeleton for `pallet-finality-verifier` * Sketch out implementation for importing finality proofs * Get pallet compiling * Introduce skeleton for mock runtime * Start using real Grandpa types in finality pallet * Redefine types in header chain primitives crate * Implement HeaderChain for Substrate bridge pallet * Plug Substrate Bridge Pallet into verifier mock * Fix compilation of `header-chain` primitives * Start writing to base pallet storage * Add first "cross-pallet" test * Move keyring primitives used in tests to shared crate * Stop pulling `std` deps into `no_std` builds * Revert "Stop pulling `std` deps into `no_std` builds" This reverts commit f74dd660652f98b7336936d1534a4e63cc9169a5. * Revert "Move keyring primitives used in tests to shared crate" This reverts commit b774fa730b2cdc40545afff308a66b0840266001. * Use new SS58Prefix type in mock * Start using `bp-test-utils` in finality pallet * Start using real justification code * Get a test working with real justification verification * Add basic tests for invalid proofs * Get rid of AncestryProof config type * Add error types to transaction outcome * Bound number of headers allowed in a single ancestry proof * Disallow invalid authority sets * Remove unused items * Add some documentation * Get rid of Clippy warnings * Rename BaseHeaderChain to TransactionVerifier * Remove unused code * Make dummy trait implementations more generic * Fix more Clippy complaints * Update tests to use fix for duplicate headers * Fix benchmarking compilation * Rename TransactionVerifier to InclusionProofVerifier
54 lines
2.1 KiB
TOML
54 lines
2.1 KiB
TOML
[package]
|
|
name = "pallet-substrate-bridge"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
|
|
finality-grandpa = { version = "0.12.3", default-features = false }
|
|
hash-db = { version = "0.15.2", default-features = false }
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
# Bridge Dependencies
|
|
|
|
bp-header-chain = { path = "../../primitives/header-chain", default-features = false }
|
|
bp-runtime = { path = "../../primitives/runtime", default-features = false }
|
|
|
|
# Substrate Dependencies
|
|
|
|
frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "master" , default-features = false }
|
|
frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "master" , default-features = false }
|
|
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate.git", branch = "master" , default-features = false }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "master" , default-features = false }
|
|
sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "master" , default-features = false }
|
|
sp-trie = { git = "https://github.com/paritytech/substrate.git", branch = "master" , default-features = false }
|
|
|
|
[dev-dependencies]
|
|
bp-test-utils = {path = "../../primitives/test-utils" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "master" }
|
|
sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "master" }
|
|
sp-state-machine = { git = "https://github.com/paritytech/substrate.git", branch = "master" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"bp-header-chain/std",
|
|
"bp-runtime/std",
|
|
"bp-header-chain/std",
|
|
"codec/std",
|
|
"finality-grandpa/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"hash-db/std",
|
|
"serde",
|
|
"sp-finality-grandpa/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"sp-trie/std",
|
|
]
|
|
runtime-benchmarks = []
|