Skip to content

Commit

Permalink
Merge pull request darwinia-network#335 from yanganto/feature/crab-et…
Browse files Browse the repository at this point in the history
…h-offchain

Add ethereum offchain worker
  • Loading branch information
yanganto authored Mar 23, 2020
2 parents 6f08993 + d2b9947 commit 1cd0f4b
Show file tree
Hide file tree
Showing 10 changed files with 732 additions and 50 deletions.
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

0 comments on commit 1cd0f4b

Please sign in to comment.