Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ethereum offchain worker #335

Merged
merged 12 commits into from
Mar 23, 2020
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native ETHBACKING
script: .maintain/ci/darwinia_test_script.sh eth-backing

- stage: Darwinia Test
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native ETHOFFCHAIN
script: .maintain/ci/darwinia_test_script.sh eth-offchain

# TODO: remove this when overall test case ready
allow_failures:
- stage: Overall Test
Expand Down
122 changes: 73 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ members = [
"frame/claims",
"frame/chainrelay/eth/backing",
"frame/chainrelay/eth/relay",
"frame/chainrelay/eth/offchain",
"frame/elections-phragmen",
"frame/staking",
"frame/support",
Expand Down
2 changes: 2 additions & 0 deletions bin/node/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pallet-claims = { package = "darwinia-claims", default-features = false, path =
pallet-elections-phragmen = { package = "darwinia-elections-phragmen", default-features = false, path = "../../../frame/elections-phragmen" }
pallet-eth-backing = { package = "darwinia-eth-backing", default-features = false, path = "../../../frame/chainrelay/eth/backing" }
pallet-eth-relay = { package = "darwinia-eth-relay", default-features = false, path = "../../../frame/chainrelay/eth/relay" }
pallet-eth-offchain = { package = "darwinia-eth-offchain", default-features = false, path = "../../../frame/chainrelay/eth/offchain" }
pallet-kton = { package = "darwinia-kton", default-features = false, path = "../../../frame/balances/kton" }
pallet-ring = { package = "darwinia-ring", default-features = false, path = "../../../frame/balances/ring" }
pallet-staking = { package = "darwinia-staking", default-features = false, features = ["migrate"], path = "../../../frame/staking" }
Expand Down Expand Up @@ -122,6 +123,7 @@ std = [
"pallet-elections-phragmen/std",
"pallet-eth-backing/std",
"pallet-eth-relay/std",
"pallet-eth-offchain/std",
"pallet-kton/std",
"pallet-ring/std",
"pallet-staking/std",
Expand Down
Loading