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

update substrate-node-template #4

Merged
merged 18 commits into from
Dec 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,428 changes: 878 additions & 550 deletions Cargo.lock

Large diffs are not rendered by default.

31 changes: 23 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,36 @@ path = "src/main.rs"

[dependencies]
error-chain = "0.12"
node-cli = { path = "cli" }
futures = "0.1"
ctrlc = { version = "3.0", features = ["termination"] }
log = "0.4"
tokio = "0.1.7"
exit-future = "0.1"
parking_lot = "0.4"
hex-literal = "0.1"
slog = "^2"
parity-codec = { version = "2.1" }
trie-root = { git = "https://github.com/paritytech/trie" }
sr-io = { git = "https://github.com/paritytech/substrate" }
sr-primitives = { git = "https://github.com/paritytech/substrate" }
substrate-cli = { git = "https://github.com/paritytech/substrate" }
substrate-primitives = { git = "https://github.com/paritytech/substrate" }
substrate-executor = { git = "https://github.com/paritytech/substrate" }
substrate-service = { git = "https://github.com/paritytech/substrate" }
substrate-transaction-pool = { git = "https://github.com/paritytech/substrate" }
substrate-network = { git = "https://github.com/paritytech/substrate" }
substrate-consensus-aura = { git = "https://github.com/paritytech/substrate" }
substrate-client = { git = "https://github.com/paritytech/substrate", default-features = false }
substrate-finality-grandpa = { git = "https://github.com/paritytech/substrate" }
template-node-runtime = { path = "runtime" }
structopt = "0.2.13"

[build-dependencies]
vergen = "2"

[workspace]
members = [
"cli",
"runtime"
]
exclude = [
"runtime/wasm"
]
members = [ "runtime" ]
exclude = [ "runtime/wasm" ]

[profile.release]
# Substrate runtime requires unwinding.
Expand Down
9 changes: 6 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ PROJECT_ROOT=`pwd`

export CARGO_INCREMENTAL=0

bold=$(tput bold)
normal=$(tput sgr0)

# Save current directory.
pushd .
pushd . >/dev/null

for SRC in runtime/wasm
do
echo "$PROJECT_ROOT/$SRC"
echo "*** Building wasm binaries in $SRC"
echo "${bold}Building webassembly binary in $SRC...${normal}"
cd "$PROJECT_ROOT/$SRC"

chmod a+x build.sh
Expand All @@ -24,4 +27,4 @@ do
done

# Restore initial directory.
popd
popd >/dev/null
25 changes: 0 additions & 25 deletions cli/Cargo.toml

This file was deleted.

151 changes: 0 additions & 151 deletions cli/src/chain_spec.rs

This file was deleted.

112 changes: 0 additions & 112 deletions cli/src/lib.rs

This file was deleted.

Loading