Skip to content

Commit

Permalink
Update Node Template: 7d7e74fb7
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Sep 25, 2019
1 parent 3abe965 commit cd271e0
Show file tree
Hide file tree
Showing 7 changed files with 1,108 additions and 998 deletions.
1,806 changes: 970 additions & 836 deletions Cargo.lock

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
[build-dependencies]
vergen = '3'
[profile.release]
panic = 'unwind'

[workspace]
members = ['runtime']

[dependencies]
derive_more = '0.14.0'
Expand All @@ -18,17 +13,17 @@ trie-root = '0.15.2'
[dependencies.babe]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-consensus-babe'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.babe-primitives]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-consensus-babe-primitives'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.basic-authorship]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-basic-authorship'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.codec]
package = 'parity-scale-codec'
Expand All @@ -41,62 +36,67 @@ version = '3.0'
[dependencies.grandpa]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-finality-grandpa'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.grandpa-primitives]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-finality-grandpa-primitives'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.inherents]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-inherents'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.network]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-network'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.node-template-runtime]
path = 'runtime'

[dependencies.primitives]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-primitives'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.sr-io]
git = 'https://github.com/paritytech/substrate.git'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.substrate-cli]
git = 'https://github.com/paritytech/substrate.git'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.substrate-client]
git = 'https://github.com/paritytech/substrate.git'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.substrate-executor]
git = 'https://github.com/paritytech/substrate.git'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.substrate-service]
git = 'https://github.com/paritytech/substrate.git'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-transaction-pool'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[package]
authors = ['Anonymous']
build = 'build.rs'
edition = '2018'
name = 'node-template'
version = '2.0.0'
[profile.release]
panic = 'unwind'

[workspace]
members = ['runtime']

[[bin]]
name = 'node-template'
Expand Down
95 changes: 47 additions & 48 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,58 @@ authors = ['Anonymous']
edition = '2018'
name = 'node-template-runtime'
version = '2.0.0'

[features]
default = ['std']
std = [
'codec/std',
'client/std',
'rstd/std',
'runtime-io/std',
'support/std',
'balances/std',
'babe/std',
'babe-primitives/std',
'executive/std',
'indices/std',
'grandpa/std',
'primitives/std',
'sr-primitives/std',
'system/std',
'timestamp/std',
'sudo/std',
'version/std',
'serde',
'safe-mix/std',
'offchain-primitives/std',
'substrate-session/std',
]
[build-dependencies.wasm-builder-runner]
package = 'substrate-wasm-builder-runner'
version = '1.0.2'
[dependencies.babe]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-babe'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.babe-primitives]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-consensus-babe-primitives'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.balances]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-balances'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.client]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-client'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.codec]
default-features = false
Expand All @@ -37,43 +66,43 @@ version = '1.0.0'
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-executive'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.grandpa]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-grandpa'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.indices]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-indices'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.offchain-primitives]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-offchain-primitives'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.primitives]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'substrate-primitives'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.rstd]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'sr-std'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.runtime-io]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'sr-io'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.safe-mix]
default-features = false
Expand All @@ -87,69 +116,39 @@ version = '1.0'
[dependencies.sr-primitives]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.substrate-session]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.sudo]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-sudo'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.support]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-support'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.system]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-system'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.timestamp]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'srml-timestamp'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'

[dependencies.version]
default_features = false
git = 'https://github.com/paritytech/substrate.git'
package = 'sr-version'
rev = '3ba0f2a2dbd37c31851a0ff1c1c0c47aa940de90'
[build-dependencies.wasm-builder-runner]
package = 'substrate-wasm-builder-runner'
version = '1.0.2'

[features]
default = ['std']
no_std = []
std = [
'codec/std',
'client/std',
'rstd/std',
'runtime-io/std',
'support/std',
'balances/std',
'babe/std',
'babe-primitives/std',
'executive/std',
'indices/std',
'grandpa/std',
'primitives/std',
'sr-primitives/std',
'system/std',
'timestamp/std',
'sudo/std',
'version/std',
'serde',
'safe-mix/std',
'offchain-primitives/std',
'substrate-session/std',
]
rev = '7d7e74fb77b6bee2ce9d6ebafcae09caff2d0e50'
2 changes: 1 addition & 1 deletion runtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use wasm_builder_runner::{build_current_project_with_rustflags, WasmBuilderSourc
fn main() {
build_current_project_with_rustflags(
"wasm_binary.rs",
WasmBuilderSource::Crates("1.0.5"),
WasmBuilderSource::Crates("1.0.7"),
// This instructs LLD to export __heap_base as a global variable, which is used by the
// external memory allocator.
"-Clink-arg=--export=__heap_base",
Expand Down
Loading

0 comments on commit cd271e0

Please sign in to comment.