Upgrade to substrate alpha.3 crates.io dependencies (#73)

* Use substrate dependencies from crates.io

* Remove test that depends on node_runtime.

Because node_runtime is not on crates.io and was downloading duplicate substrate dependencies. The integration tests will test whether the serialization of keys and calls works.

* Fix updated jsonrpsee compilation errors

* Add missing frame-metadata dependency
This commit is contained in:
Andrew Jones
2020-03-06 11:58:23 +00:00
committed by GitHub
parent dcc6b91d10
commit 8ea264d7b0
4 changed files with 15 additions and 47 deletions
+11 -12
View File
@@ -21,21 +21,20 @@ serde_json = "1.0"
url = "1.7"
codec = { package = "parity-scale-codec", version = "1.1", default-features = false, features = ["derive", "full"] }
frame-metadata = { git = "https://github.com/paritytech/substrate/", package = "frame-metadata" }
frame-support = { git = "https://github.com/paritytech/substrate/", package = "frame-support" }
sp-runtime = { git = "https://github.com/paritytech/substrate/", package = "sp-runtime" }
sp-version = { git = "https://github.com/paritytech/substrate/", package = "sp-version" }
pallet-indices = { git = "https://github.com/paritytech/substrate/", package = "pallet-indices" }
frame-metadata = { version = "11.0.0-alpha.3", package = "frame-metadata" }
frame-support = { version = "2.0.0-alpha.3", package = "frame-support" }
sp-runtime = { version = "2.0.0-alpha.3", package = "sp-runtime" }
sp-version = { version = "2.0.0-alpha.3", package = "sp-version" }
pallet-indices = { version = "2.0.0-alpha.3", package = "pallet-indices" }
hex = "0.4.0"
sp-rpc = { git = "https://github.com/paritytech/substrate/", package = "sp-rpc" }
sp-core = { git = "https://github.com/paritytech/substrate/", package = "sp-core" }
sp-transaction-pool = { git = "https://github.com/paritytech/substrate/", package = "sp-transaction-pool" }
sp-rpc = { version = "2.0.0-alpha.3", package = "sp-rpc" }
sp-core = { version = "2.0.0-alpha.3", package = "sp-core" }
sp-transaction-pool = { version = "2.0.0-alpha.3", package = "sp-transaction-pool" }
[dev-dependencies]
async-std = "1.2.0"
env_logger = "0.7"
wabt = "0.9"
frame-system = { git = "https://github.com/paritytech/substrate/", package = "frame-system" }
node-runtime = { git = "https://github.com/paritytech/substrate/", package = "node-runtime" }
pallet-balances = { git = "https://github.com/paritytech/substrate/", package = "pallet-balances" }
sp-keyring = { git = "https://github.com/paritytech/substrate/", package = "sp-keyring" }
frame-system = { version = "2.0.0-alpha.3", package = "frame-system" }
pallet-balances = { version = "2.0.0-alpha.3", package = "pallet-balances" }
sp-keyring = { version = "2.0.0-alpha.3", package = "sp-keyring" }