forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
122 changed files
with
26,476 additions
and
2,739 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[package] | ||
name = "pallet-bridge-beefy" | ||
version = "0.1.0" | ||
description = "Module implementing BEEFY on-chain light client used for bridging consensus of substrate-based chains." | ||
authors.workspace = true | ||
edition.workspace = true | ||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" | ||
repository.workspace = true | ||
publish = false | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[dependencies] | ||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false } | ||
log = { workspace = true } | ||
scale-info = { version = "2.11.1", default-features = false, features = ["derive"] } | ||
serde = { optional = true, workspace = true } | ||
|
||
# Bridge Dependencies | ||
|
||
bp-beefy = { path = "../../primitives/beefy", default-features = false } | ||
bp-runtime = { path = "../../primitives/runtime", default-features = false } | ||
|
||
# Substrate Dependencies | ||
|
||
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } | ||
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } | ||
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } | ||
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } | ||
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } | ||
|
||
[dev-dependencies] | ||
sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } | ||
mmr-lib = { package = "ckb-merkle-mountain-range", version = "0.5.2" } | ||
pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } | ||
pallet-mmr = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } | ||
rand = "0.8.5" | ||
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } | ||
bp-test-utils = { path = "../../primitives/test-utils" } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"bp-beefy/std", | ||
"bp-runtime/std", | ||
"codec/std", | ||
"frame-support/std", | ||
"frame-system/std", | ||
"log/std", | ||
"scale-info/std", | ||
"serde/std", | ||
"sp-core/std", | ||
"sp-runtime/std", | ||
"sp-std/std", | ||
] | ||
try-runtime = [ | ||
"frame-support/try-runtime", | ||
"frame-system/try-runtime", | ||
"pallet-beefy-mmr/try-runtime", | ||
"pallet-mmr/try-runtime", | ||
"sp-runtime/try-runtime", | ||
] |
Oops, something went wrong.