mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 01:41:03 +00:00
Get Ethereum Relay to Compile (#21)
* Update dependencies Upgrades Substrate based dependencies from v2.0.0 -> v2.0.0-alpha.1 and uses the `jsonrpsee`'s new feature flags. The actual code hasn't been updated though, so this won't compile. * Use `RawClient`s from `jsonrpsee` * Update to use jsonrpsee's new API * Hook up Ethereum Bridge Runtime, Relay, and Node Runtime * Bump `parity-crypto` from v0.4 to v0.6 Fixes error when trying to compile tests. This was caused by `parity-crypto` v0.4's use of `parity-secp256k1` over `secp256k1'. Using the Parity fork meant multiple version of the same underlying C library were being pulled in. `parity-crypto` v0.6 moved away from this, only relying on `secp256k1` thus fixing the issue.
This commit is contained in:
committed by
Bastian Köcher
parent
392582f3d5
commit
8232bdfe30
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "async-bridge"
|
||||
name = "ethereum-poa-relay"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
@@ -11,22 +11,54 @@ async-stream = "0.2.0"
|
||||
clap = { version = "2.33.0", features = ["yaml"] }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0" }
|
||||
env_logger = "0.7.0"
|
||||
frame-system = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
futures = "0.3.1"
|
||||
jsonrpsee-core = { git = "https://github.com/paritytech/jsonrpsee.git" }
|
||||
jsonrpsee-http = { git = "https://github.com/paritytech/jsonrpsee.git" }
|
||||
jsonrpsee = { git = "https://github.com/paritytech/jsonrpsee.git", default-features = false, features = ["http"] }
|
||||
linked-hash-map = "0.5.2"
|
||||
log = "0.4.8"
|
||||
node-primitives = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
node-runtime = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
pallet-transaction-payment = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
parking_lot = "0.9.0"
|
||||
rustc-hex = "2.0.1"
|
||||
serde = { version = "1.0.40", features = ["derive"] }
|
||||
serde_json = "1.0.40"
|
||||
sp-bridge-eth-poa = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
sp-core = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
sp-keyring = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
sp-runtime = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
sp-bridge-eth-poa = { path = "../../primitives/ethereum-poa" }
|
||||
time = "0.1"
|
||||
web3 = { git = "https://github.com/svyatonik/rust-web3.git", branch = "fix_receipt" }
|
||||
|
||||
# Substrate Based Dependencies
|
||||
[dependencies.frame-system]
|
||||
version = "2.0.0-alpha.2"
|
||||
rev = "2afecf81ee19b8a6edb364b419190ea47c4a4a31"
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-transaction-payment]
|
||||
version = "2.0.0-alpha.2"
|
||||
rev = "2afecf81ee19b8a6edb364b419190ea47c4a4a31"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
# I think this is used for sr-io and stuff
|
||||
[dependencies.node-primitives]
|
||||
version = "2.0.0-alpha.2"
|
||||
rev = "2afecf81ee19b8a6edb364b419190ea47c4a4a31"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
# Branch used for keccack256 hasher code
|
||||
# Could probably move the keccack hasher stuff to our own primitives
|
||||
[dependencies.sp-core]
|
||||
version = "2.0.0-alpha.2"
|
||||
rev = "2afecf81ee19b8a6edb364b419190ea47c4a4a31"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-keyring]
|
||||
version = "2.0.0-alpha.2"
|
||||
rev = "2afecf81ee19b8a6edb364b419190ea47c4a4a31"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
version = "2.0.0-alpha.2"
|
||||
rev = "2afecf81ee19b8a6edb364b419190ea47c4a4a31"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
# This should get moved to our `bin` folder
|
||||
[dependencies.bridge-node-runtime]
|
||||
version = "0.1.0"
|
||||
path = "../../bin/node/runtime"
|
||||
# node-runtime = { git = "https://github.com/svyatonik/substrate.git", branch = "bridge_runtime" }
|
||||
|
||||
Reference in New Issue
Block a user