Split Rialto and Millau Nodes (#372)

* Split the Rialto Node into a standalone crate

* Split the Millau Node into a standalone crate

* Remove `bridge-node` crate

* Add benchmarking feature to nodes

* Check that benchmarks compile in CI

* Remove nodes from CI matrix

* Update Rialto node to Substrate 2.0

* Get Millau node compiling with Substrate 2.0

* Remove extra license text

* Remove comments in TOML files

* Move nodes and runtimes into Rialto and Millau folders

* Fix dependency paths

* Remove unused script

* Add issue to benchmarking TODO

* Fix benchmark manifest paths
This commit is contained in:
Hernando Castano
2020-10-06 04:36:59 -04:00
committed by Bastian Köcher
parent 52b11a58c9
commit 8b8248f83f
32 changed files with 866 additions and 93 deletions
+54
View File
@@ -0,0 +1,54 @@
[package]
name = "millau-bridge-node"
description = "Substrate node compatible with Millau runtime"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
build = "build.rs"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/parity-bridges-common/"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies]
jsonrpc-core = "15.0.0"
structopt = "0.3.17"
# Bridge dependencies
millau-runtime = { path = "../runtime" }
# Substrate Dependencies
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"
[features]
default = []
# TODO: https://github.com/paritytech/parity-bridges-common/issues/390
# I've left the feature flag here to test our CI configuration
runtime-benchmarks = [
# "millau-runtime/runtime-benchmarks",
]