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.
extract ShiftSessionManager into separate pallet (paritytech#342)
- Loading branch information
Showing
4 changed files
with
289 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[package] | ||
name = "pallet-shift-session-manager" | ||
description = "A Substrate Runtime module that selects 2/3 of initial validators for every session" | ||
version = "0.1.0" | ||
authors = ["Parity Technologies <admin@parity.io>"] | ||
edition = "2018" | ||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" | ||
|
||
[dependencies] | ||
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false } | ||
|
||
# Substrate Based Dependencies | ||
|
||
[dependencies.frame-support] | ||
version = "2.0.0-rc6" | ||
tag = 'v2.0.0-rc6' | ||
default-features = false | ||
git = "https://github.com/paritytech/substrate/" | ||
|
||
[dependencies.frame-system] | ||
version = "2.0.0-rc6" | ||
tag = 'v2.0.0-rc6' | ||
default-features = false | ||
git = "https://github.com/paritytech/substrate/" | ||
|
||
[dependencies.pallet-session] | ||
version = "2.0.0-rc6" | ||
tag = 'v2.0.0-rc6' | ||
default-features = false | ||
git = "https://github.com/paritytech/substrate/" | ||
|
||
[dependencies.sp-core] | ||
version = "2.0.0-rc6" | ||
tag = 'v2.0.0-rc6' | ||
default-features = false | ||
git = "https://github.com/paritytech/substrate/" | ||
|
||
[dependencies.sp-runtime] | ||
version = "2.0.0-rc6" | ||
tag = 'v2.0.0-rc6' | ||
default-features = false | ||
git = "https://github.com/paritytech/substrate/" | ||
|
||
[dependencies.sp-staking] | ||
version = "2.0.0-rc6" | ||
tag = 'v2.0.0-rc6' | ||
default-features = false | ||
git = "https://github.com/paritytech/substrate/" | ||
|
||
[dependencies.sp-std] | ||
version = "2.0.0-rc6" | ||
tag = 'v2.0.0-rc6' | ||
default-features = false | ||
git = "https://github.com/paritytech/substrate/" | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"codec/std", | ||
"frame-support/std", | ||
"frame-system/std", | ||
"pallet-session/std", | ||
"sp-core/std", | ||
"sp-runtime/std", | ||
"sp-staking/std", | ||
"sp-std/std", | ||
] |
Oops, something went wrong.