mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-23 16:41:06 +00:00
Get substrate dependencies from crates io (#387)
* get Substrate dependencies from crates.io * removing unused dependencies * cargo fmt --all * remove commented dependencies * remove commented dependencies again * try to fix compilation
This commit is contained in:
committed by
Bastian Köcher
parent
f43e405b5e
commit
07a514e9f7
@@ -8,211 +8,45 @@ repository = "https://github.com/paritytech/parity-bridges-common/"
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
|
||||
serde = { version = "1.0.115", optional = true, features = ["derive"] }
|
||||
|
||||
# Bridge dependencies
|
||||
|
||||
bp-message-lane = { path = "../../primitives/message-lane", default-features = false }
|
||||
bp-millau = { path = "../../primitives/millau", default-features = false }
|
||||
hex-literal = "0.3"
|
||||
|
||||
[dependencies.codec]
|
||||
package = "parity-scale-codec"
|
||||
version = "1.3.1"
|
||||
default-features = false
|
||||
features = ["derive"]
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0.115"
|
||||
optional = true
|
||||
features = ["derive"]
|
||||
pallet-bridge-call-dispatch = { path = "../../modules/call-dispatch", default-features = false }
|
||||
pallet-message-lane = { path = "../../modules/message-lane", default-features = false }
|
||||
pallet-shift-session-manager = { path = "../../modules/shift-session-manager", default-features = false }
|
||||
|
||||
# Substrate Dependencies
|
||||
[dependencies.pallet-aura]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-balances]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
frame-executive = { version = "2.0", default-features = false }
|
||||
frame-support = { version = "2.0", default-features = false }
|
||||
frame-system = { version = "2.0", default-features = false }
|
||||
frame-system-rpc-runtime-api = { version = "2.0", default-features = false }
|
||||
pallet-aura = { version = "2.0", default-features = false }
|
||||
pallet-balances = { version = "2.0", default-features = false }
|
||||
pallet-grandpa = { version = "2.0", default-features = false }
|
||||
pallet-randomness-collective-flip = { version = "2.0", default-features = false }
|
||||
pallet-session = { version = "2.0", default-features = false }
|
||||
pallet-sudo = { version = "2.0", default-features = false }
|
||||
pallet-timestamp = { version = "2.0", default-features = false }
|
||||
pallet-transaction-payment = { version = "2.0", default-features = false }
|
||||
sp-api = { version = "2.0", default-features = false }
|
||||
sp-block-builder = { version = "2.0", default-features = false }
|
||||
sp-consensus-aura = { version = "0.8", default-features = false }
|
||||
sp-core = { version = "2.0", default-features = false }
|
||||
sp-inherents = { version = "2.0", default-features = false }
|
||||
sp-offchain = { version = "2.0", default-features = false }
|
||||
sp-runtime = { version = "2.0", default-features = false }
|
||||
sp-session = { version = "2.0", default-features = false }
|
||||
sp-std = { version = "2.0", default-features = false }
|
||||
sp-transaction-pool = { version = "2.0", default-features = false }
|
||||
sp-version = { version = "2.0", default-features = false }
|
||||
|
||||
[dependencies.pallet-bridge-call-dispatch]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/call-dispatch"
|
||||
|
||||
[dependencies.pallet-message-lane]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/message-lane"
|
||||
|
||||
[dependencies.frame-support]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-grandpa]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-randomness-collective-flip]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-sudo]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-shift-session-manager]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/shift-session-manager"
|
||||
|
||||
[dependencies.pallet-session]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-system]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-system-rpc-runtime-api]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-timestamp]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-transaction-payment]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-executive]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
# Substrate Primitives
|
||||
[dependencies.sp-api]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-block-builder]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-consensus-aura]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-core]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-inherents]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-io]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-offchain]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-session]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-staking]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-std]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-transaction-pool]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-version]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-benchmarking]
|
||||
optional = true
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.bp-header-chain]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../primitives/header-chain"
|
||||
|
||||
[dependencies.bp-message-lane]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../primitives/message-lane"
|
||||
|
||||
# Dev Dependencies
|
||||
|
||||
[build-dependencies.wasm-builder-runner]
|
||||
version = "1.0.5"
|
||||
tag = 'v2.0.0'
|
||||
package = "substrate-wasm-builder-runner"
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
[build-dependencies]
|
||||
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -220,17 +54,18 @@ std = [
|
||||
"bp-message-lane/std",
|
||||
"bp-millau/std",
|
||||
"codec/std",
|
||||
"frame-benchmarking/std",
|
||||
"frame-executive/std",
|
||||
"frame-support/std",
|
||||
"frame-system-rpc-runtime-api/std",
|
||||
"frame-system/std",
|
||||
"frame-system-rpc-runtime-api/std",
|
||||
"pallet-aura/std",
|
||||
"pallet-balances/std",
|
||||
"pallet-bridge-call-dispatch/std",
|
||||
"pallet-grandpa/std",
|
||||
"pallet-message-lane/std",
|
||||
"pallet-randomness-collective-flip/std",
|
||||
"pallet-shift-session-manager/std",
|
||||
"pallet-session/std",
|
||||
"pallet-sudo/std",
|
||||
"pallet-timestamp/std",
|
||||
"pallet-transaction-payment/std",
|
||||
@@ -240,7 +75,6 @@ std = [
|
||||
"sp-consensus-aura/std",
|
||||
"sp-core/std",
|
||||
"sp-inherents/std",
|
||||
"sp-io/std",
|
||||
"sp-offchain/std",
|
||||
"sp-runtime/std",
|
||||
"sp-session/std",
|
||||
@@ -248,9 +82,3 @@ std = [
|
||||
"sp-transaction-pool/std",
|
||||
"sp-version/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"frame-benchmarking",
|
||||
"frame-support/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
+26
-131
@@ -9,147 +9,42 @@ repository = "https://github.com/paritytech/parity-bridges-common/"
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
futures = "0.3.5"
|
||||
jsonrpc-core = "15.0.0"
|
||||
log = "0.4.11"
|
||||
pallet-message-lane-rpc = { version = "0.1.0", path = "../../modules/message-lane/rpc" }
|
||||
structopt = "0.3.17"
|
||||
|
||||
[dependencies.millau-runtime]
|
||||
optional = true
|
||||
version = "0.1.0"
|
||||
path = "../millau-runtime"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
# Bridge dependencies
|
||||
|
||||
[dependencies.rialto-runtime]
|
||||
optional = true
|
||||
version = "0.1.0"
|
||||
path = "../rialto-runtime"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
millau-runtime = { path = "../millau-runtime", optional = true }
|
||||
pallet-message-lane-rpc = { path = "../../modules/message-lane/rpc" }
|
||||
rialto-runtime = { path = "../rialto-runtime", optional = true }
|
||||
|
||||
[dependencies.sc-cli]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
# Substrate Dependencies
|
||||
|
||||
[dependencies.sc-rpc]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-core]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-executor]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-service]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-inherents]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-transaction-pool]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-transaction-pool]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-network]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-consensus-aura]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-consensus-aura]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-consensus]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-finality-grandpa]
|
||||
package = "sc-finality-grandpa"
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.grandpa-primitives]
|
||||
package = "sp-finality-grandpa"
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-consensus]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-client-api]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sc-basic-authorship]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.substrate-frame-rpc-system]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.frame-benchmarking]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.frame-benchmarking-cli]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
frame-benchmarking = "2.0"
|
||||
frame-benchmarking-cli = "2.0"
|
||||
sc-basic-authorship = "0.8"
|
||||
sc-cli = "0.8"
|
||||
sc-client-api = "2.0"
|
||||
sc-consensus = "0.8"
|
||||
sc-consensus-aura = "0.8"
|
||||
sc-executor = "0.8"
|
||||
sc-finality-grandpa = "0.8"
|
||||
sc-service = "0.8"
|
||||
sc-rpc = "2.0"
|
||||
sc-transaction-pool = "2.0"
|
||||
sp-consensus = "0.8"
|
||||
sp-consensus-aura = "0.8"
|
||||
sp-core = "2.0"
|
||||
sp-inherents = "2.0"
|
||||
sp-finality-grandpa = "2.0"
|
||||
sp-runtime = "2.0"
|
||||
substrate-frame-rpc-system = "2.0"
|
||||
|
||||
[build-dependencies]
|
||||
build-script-utils = { package = "substrate-build-script-utils", version = "2.0" }
|
||||
frame-benchmarking-cli = "2.0"
|
||||
vergen = "3.1.0"
|
||||
|
||||
[build-dependencies.build-script-utils]
|
||||
package = "substrate-build-script-utils"
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[build-dependencies.frame-benchmarking-cli]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
millau = [
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use grandpa_primitives::AuthorityId as GrandpaId;
|
||||
use rialto_runtime::{
|
||||
AccountId, AuraConfig, BalancesConfig, BridgeKovanConfig, BridgeRialtoConfig, GenesisConfig, GrandpaConfig,
|
||||
SessionConfig, SessionKeys, Signature, SudoConfig, SystemConfig, WASM_BINARY,
|
||||
};
|
||||
use sp_consensus_aura::sr25519::AuthorityId as AuraId;
|
||||
use sp_core::{sr25519, Pair, Public};
|
||||
use sp_finality_grandpa::AuthorityId as GrandpaId;
|
||||
use sp_runtime::traits::{IdentifyAccount, Verify};
|
||||
|
||||
/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.
|
||||
|
||||
@@ -8,255 +8,65 @@ repository = "https://github.com/paritytech/parity-bridges-common/"
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
|
||||
hex-literal = "0.3"
|
||||
libsecp256k1 = { version = "0.3.4", optional = true, default-features = false, features = ["hmac"] }
|
||||
serde = { version = "1.0.115", optional = true, features = ["derive"] }
|
||||
|
||||
# Bridge dependencies
|
||||
|
||||
bp-currency-exchange = { path = "../../primitives/currency-exchange", default-features = false }
|
||||
bp-eth-poa = { path = "../../primitives/ethereum-poa", default-features = false }
|
||||
bp-header-chain = { path = "../../primitives/header-chain", default-features = false }
|
||||
bp-message-lane = { path = "../../primitives/message-lane", default-features = false }
|
||||
bp-millau = { path = "../../primitives/millau", default-features = false }
|
||||
bp-rialto = { path = "../../primitives/rialto", default-features = false }
|
||||
hex-literal = "0.3"
|
||||
|
||||
[dependencies.codec]
|
||||
package = "parity-scale-codec"
|
||||
version = "1.3.1"
|
||||
default-features = false
|
||||
features = ["derive"]
|
||||
|
||||
[dependencies.libsecp256k1]
|
||||
optional = true
|
||||
version = "0.3.4"
|
||||
default-features = false
|
||||
features = ["hmac"]
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0.116"
|
||||
optional = true
|
||||
features = ["derive"]
|
||||
pallet-bridge-eth-poa = { path = "../../modules/ethereum", default-features = false }
|
||||
pallet-bridge-call-dispatch = { path = "../../modules/call-dispatch", default-features = false }
|
||||
pallet-bridge-currency-exchange = { path = "../../modules/currency-exchange", default-features = false }
|
||||
pallet-message-lane = { path = "../../modules/message-lane", default-features = false }
|
||||
pallet-shift-session-manager = { path = "../../modules/shift-session-manager", default-features = false }
|
||||
|
||||
# Substrate Dependencies
|
||||
[dependencies.pallet-aura]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-balances]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
frame-benchmarking = { version = "2.0", default-features = false, optional = true }
|
||||
frame-executive = { version = "2.0", default-features = false }
|
||||
frame-support = { version = "2.0", default-features = false }
|
||||
frame-system = { version = "2.0", default-features = false }
|
||||
frame-system-rpc-runtime-api = { version = "2.0", default-features = false }
|
||||
pallet-aura = { version = "2.0", default-features = false }
|
||||
pallet-balances = { version = "2.0", default-features = false }
|
||||
pallet-grandpa = { version = "2.0", default-features = false }
|
||||
pallet-randomness-collective-flip = { version = "2.0", default-features = false }
|
||||
pallet-session = { version = "2.0", default-features = false }
|
||||
pallet-sudo = { version = "2.0", default-features = false }
|
||||
pallet-timestamp = { version = "2.0", default-features = false }
|
||||
pallet-transaction-payment = { version = "2.0", default-features = false }
|
||||
sp-api = { version = "2.0", default-features = false }
|
||||
sp-block-builder = { version = "2.0", default-features = false }
|
||||
sp-consensus-aura = { version = "0.8", default-features = false }
|
||||
sp-core = { version = "2.0", default-features = false }
|
||||
sp-inherents = { version = "2.0", default-features = false }
|
||||
sp-io = { version = "2.0", default-features = false }
|
||||
sp-offchain = { version = "2.0", default-features = false }
|
||||
sp-runtime = { version = "2.0", default-features = false }
|
||||
sp-session = { version = "2.0", default-features = false }
|
||||
sp-std = { version = "2.0", default-features = false }
|
||||
sp-transaction-pool = { version = "2.0", default-features = false }
|
||||
sp-version = { version = "2.0", default-features = false }
|
||||
|
||||
[dependencies.pallet-bridge-eth-poa]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/ethereum"
|
||||
[dev-dependencies]
|
||||
libsecp256k1 = { version = "0.3.4", features = ["hmac"] }
|
||||
|
||||
[dependencies.pallet-bridge-call-dispatch]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/call-dispatch"
|
||||
|
||||
[dependencies.pallet-bridge-currency-exchange]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/currency-exchange"
|
||||
|
||||
[dependencies.pallet-message-lane]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/message-lane"
|
||||
|
||||
[dependencies.frame-support]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-grandpa]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-randomness-collective-flip]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-shift-session-manager]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../modules/shift-session-manager"
|
||||
|
||||
[dependencies.pallet-sudo]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-session]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-system]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-system-rpc-runtime-api]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-timestamp]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-transaction-payment]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-executive]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
# Substrate Primitives
|
||||
[dependencies.sp-api]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-block-builder]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-consensus-aura]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-core]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-inherents]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-io]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-offchain]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-session]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-staking]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-std]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-transaction-pool]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-version]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-benchmarking]
|
||||
optional = true
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.bp-currency-exchange]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../primitives/currency-exchange"
|
||||
|
||||
[dependencies.bp-eth-poa]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../primitives/ethereum-poa"
|
||||
|
||||
[dependencies.bp-header-chain]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../primitives/header-chain"
|
||||
|
||||
[dependencies.bp-message-lane]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
path = "../../primitives/message-lane"
|
||||
|
||||
# Dev Dependencies
|
||||
|
||||
[dev-dependencies.libsecp256k1]
|
||||
version = "0.3.4"
|
||||
default-features = false
|
||||
features = ["hmac"]
|
||||
|
||||
[dev-dependencies.bp-eth-poa]
|
||||
version = "0.1.0"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
path = "../../primitives/ethereum-poa"
|
||||
|
||||
[build-dependencies.wasm-builder-runner]
|
||||
version = "1.0.5"
|
||||
tag = 'v2.0.0'
|
||||
package = "substrate-wasm-builder-runner"
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
[build-dependencies]
|
||||
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bp-currency-exchange/std",
|
||||
"bp-eth-poa/std",
|
||||
"bp-header-chain/std",
|
||||
"bp-message-lane/std",
|
||||
"bp-millau/std",
|
||||
"bp-rialto/std",
|
||||
@@ -268,10 +78,11 @@ std = [
|
||||
"frame-system/std",
|
||||
"pallet-aura/std",
|
||||
"pallet-balances/std",
|
||||
"pallet-bridge-eth-poa/std",
|
||||
"pallet-bridge-call-dispatch/std",
|
||||
"pallet-bridge-currency-exchange/std",
|
||||
"pallet-bridge-eth-poa/std",
|
||||
"pallet-grandpa/std",
|
||||
"pallet-message-lane/std",
|
||||
"pallet-randomness-collective-flip/std",
|
||||
"pallet-shift-session-manager/std",
|
||||
"pallet-sudo/std",
|
||||
|
||||
Reference in New Issue
Block a user