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.
Move justification code to primitives crate (paritytech#640)
* Move justification module to header-chain primitives crate * Get justification module compiling in new location * Get justification module tests compiling * Use justification code from `header-chain` crate Mostly compiles, having issues with std/test feature flags across crates. * Move some code around * Move justification tests to integration testing crate * Add `test-utils` crate * Remove tests and test-helper module from justification code * Use `test-utils` in Substrate bridge pallet tests * Remove `sp-keyring` related code from `pallet-substrate-bridge` * Remove `helpers` module from `pallet-substrate-bridge` * Add some documentation * Add more documentation * Fix typo Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
- Loading branch information
Showing
13 changed files
with
338 additions
and
240 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -6,13 +6,29 @@ authors = ["Parity Technologies <[email protected]>"] | |
edition = "2018" | ||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" | ||
|
||
[dependencies.parity-scale-codec] | ||
version = "1.3.1" | ||
default-features = false | ||
features = ["derive"] | ||
[dependencies] | ||
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false } | ||
finality-grandpa = { version = "0.12.3", default-features = false } | ||
|
||
# Substrate Dependencies | ||
|
||
frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "master" , default-features = false } | ||
sp-core = { 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 } | ||
|
||
[dev-dependencies] | ||
bp-test-utils = { path = "../test-utils" } | ||
sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "master" } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"parity-scale-codec/std", | ||
"codec/std", | ||
"finality-grandpa/std", | ||
"frame-support/std", | ||
"sp-core/std", | ||
"sp-finality-grandpa/std", | ||
"sp-std/std", | ||
] |
Oops, something went wrong.