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:
Svyatoslav Nikolsky
2020-09-30 15:26:13 +03:00
committed by Bastian Köcher
parent f43e405b5e
commit 07a514e9f7
26 changed files with 281 additions and 1170 deletions
@@ -7,9 +7,6 @@ edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies]
# General dependencies
codec = { package = "parity-scale-codec", version = "1.3.4" }
ethereum-types = "0.9.2"
finality-grandpa = "0.12.3"
@@ -20,30 +17,12 @@ log = "0.4.11"
rialto-runtime = { path = "../../../bin/rialto-runtime" }
[dependencies.sp-blockchain]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate/"
# Substrate Dependencies
[dependencies.sp-finality-grandpa]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate/"
[dependencies.sp-runtime]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate/"
[dependencies.sc-finality-grandpa]
version = "0.8.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate/"
sc-finality-grandpa = "0.8"
sp-blockchain = "2.0"
sp-finality-grandpa = "2.0"
sp-runtime = "2.0"
[dev-dependencies]
hex = "0.4"
[dev-dependencies.sp-core]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate/"
sp-core = "2.0"