Skip to content

Commit 45189e5

Browse files
authored
Merge pull request #3 from darwinia-network/master
fetch new
2 parents b295767 + cd4d244 commit 45189e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3918
-4412
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@
99
.idea
1010
!node/runtime/wasm/target/wasm32-unknown-unknown/release/*.compact.wasm
1111

12+
test-client
13+
14+
.DS_Store
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# https://timryan.org/2018/07/27/cross-compiling-linux-binaries-from-macos.html
2+
3+
# brew tap SergioBenitez/osxct
4+
# brew install x86_64-unknown-linux-gnu
5+
6+
# Linker for the target platform
7+
# (cc can also be updated using .cargo/config)
8+
export TARGET_CC="x86_64-unknown-linux-gnu-gcc"
9+
10+
export LINUX_GCC_TARGET_PATH="/usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/lib/gcc/x86_64-unknown-linux-gnu/7.2.0"
11+
12+
# Library headers to link against
13+
export TARGET_CFLAGS="-I $LINUX_GCC_TARGET_PATH/include -isystem /usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/x86_64-unknown-linux-gnu/sysroot/usr/include"
14+
# Libraries (shared objects) to link against
15+
export LD_LIBRARY_PATH="$LINUX_GCC_TARGET_PATH;/usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/x86_64-unknown-linux-gnu/sysroot/usr/lib"
16+
17+
# openssl-sys specific build flags
18+
export OPENSSL_DIR="/usr/local/Cellar/openssl/1.0.2r"
19+
export OPENSSL_LIB_DIR="/usr/local/Cellar/openssl/1.0.2r/lib"

Cargo.lock

+524-492
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ path = 'node/src/main.rs'
5050

5151
[workspace]
5252
members = [
53+
# "test-client",
5354
"node/cli",
5455
"node/executor",
5556
"node/primitives",
5657
"node/runtime",
5758
"node/rpc-client",
5859
"srml/staking",
59-
"srml/token/ring",
60-
"srml/token/kton",
60+
"srml/kton",
6161
"srml/support",
6262
"srml/aura",
6363
"srml/try",
@@ -66,9 +66,9 @@ members = [
6666
exclude = ["node/runtime/wasm"]
6767

6868
[package]
69-
authors = ['Parity Technologies <admin@parity.io>']
69+
authors = ['Darwinia Network <hello@darwinia.network>']
7070
build = 'build.rs'
7171
edition = '2018'
72-
name = 'darwinia-poc1'
73-
version = '0.1.0'
72+
name = 'darwinia-crayfish'
73+
version = '0.3.0'
7474

node/cli/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tokio = "0.1.7"
1212
futures = "0.1"
1313
exit-future = "0.1"
1414
cli = { package = "substrate-cli", git = 'https://github.com/paritytech/substrate.git' }
15-
parity-codec = { version = "3.3" }
15+
parity-codec = { version = "4.1.1" }
1616
sr-io = { git = 'https://github.com/paritytech/substrate.git' }
1717
client = { package = "substrate-client", git = 'https://github.com/paritytech/substrate.git' }
1818
primitives = { package = "substrate-primitives", git = 'https://github.com/paritytech/substrate.git' }
@@ -39,6 +39,7 @@ timestamp = { package = "srml-timestamp", git = 'https://github.com/paritytech/s
3939
rand = "0.6"
4040
finality_tracker = { package = "srml-finality-tracker", git = 'https://github.com/paritytech/substrate.git', default-features = false }
4141
srml-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false }
42+
contracts = { package = "srml-contracts", git = 'https://github.com/paritytech/substrate.git', default-features = false }
4243
backtrace = "0.3"
4344
reqwest = "0.9.5"
4445
serde = "1.0"

0 commit comments

Comments
 (0)