Skip to content

Commit

Permalink
Build Spec for Crab Release (#438)
Browse files Browse the repository at this point in the history
* update: WASM builder

* update: load genesis

* update: version

* update: rename

* update: chain spec

* update: deps
  • Loading branch information
AurevoirXavier authored May 8, 2020
1 parent f81b776 commit 48ccfaf
Show file tree
Hide file tree
Showing 13 changed files with 7,112 additions and 7,125 deletions.
70 changes: 35 additions & 35 deletions Cargo.lock

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

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ path = "src/main.rs"

[package]
name = "darwinia"
version = "0.5.6"
version = "0.5.7"
authors = ["Darwinia Network <[email protected]>"]
description = "Darwinia node implementation in Rust"
edition = "2018"
Expand Down Expand Up @@ -46,4 +46,3 @@ panic = "unwind"
[features]
# TODO: benchmark
# runtime-benchmarks=["darwinia-cli/runtime-benchmarks"]
build-spec = ["darwinia-cli/build-spec"]
6 changes: 1 addition & 5 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "darwinia-cli"
version = "0.5.6"
version = "0.5.7"
authors = ["Darwinia Network <[email protected]>"]
description = "Darwinia Client Node"
edition = "2018"
Expand Down Expand Up @@ -66,7 +66,3 @@ browser = [
]
# TODO: benchmark
# runtime-benchmarks = ["service/runtime-benchmarks"]
build-spec = [
"default",
"darwinia-service/build-spec",
]
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "darwinia-primitives"
version = "0.5.6"
version = "0.5.7"
authors = ["Darwinia Network <[email protected]>"]
description = "Darwinia node runtime primitives"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "darwinia-rpc"
version = "0.5.6"
version = "0.5.7"
authors = ["Darwinia Network <[email protected]>"]
description = "Darwinia node rpc"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "darwinia-runtime-common"
version = "0.5.6"
version = "0.5.7"
authors = ["Darwinia Network <[email protected]>"]
description = "Darwinia node runtime common"
edition = "2018"
Expand Down
8 changes: 2 additions & 6 deletions runtime/crab/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "crab-runtime"
version = "0.5.6"
version = "0.5.7"
authors = ["Darwinia Network <[email protected]>"]
description = "Darwinia node runtime for Crab network"
build = "build.rs"
edition = "2018"
license = "GPL-3.0"
homepage = "https://darwinia.network/"
repository = "https://github.com/darwinia-network/darwinia/"
build = "build.rs"

[dependencies]
# crates
Expand Down Expand Up @@ -141,7 +141,3 @@ std = [
# runtime-benchmarks = [
# "frame-benchmarking",
# ]
build-spec = [
"default",
"darwinia-staking/build-spec",
]
2 changes: 1 addition & 1 deletion runtime/crab/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use wasm_builder_runner::WasmBuilder;
fn main() {
WasmBuilder::new()
.with_current_project()
.with_wasm_builder_from_crates("1.0.9")
.with_wasm_builder_from_crates("1.0.10")
.import_memory()
.export_heap_base()
.build()
Expand Down
4 changes: 2 additions & 2 deletions runtime/crab/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use constants::{currency::*, fee::*, time::*};
#[cfg(feature = "std")]
pub use darwinia_claims::ClaimsList;
#[cfg(feature = "std")]
pub use darwinia_eth_relay::DagMerkleRoots;
pub use darwinia_eth_relay::DagsMerkleRootsLoader;
#[cfg(feature = "std")]
pub use darwinia_staking::{Forcing, StakerStatus};

Expand Down Expand Up @@ -628,8 +628,8 @@ impl<C> frame_system::offchain::SendTransactionTypes<C> for Runtime
where
Call: From<C>,
{
type OverarchingCall = Call;
type Extrinsic = UncheckedExtrinsic;
type OverarchingCall = Call;
}

construct_runtime!(
Expand Down
6 changes: 1 addition & 5 deletions service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "darwinia-service"
version = "0.5.6"
version = "0.5.7"
authors = ["Darwinia Network <[email protected]>"]
description = "Darwinia node service"
edition = "2018"
Expand Down Expand Up @@ -64,7 +64,3 @@ db = ["sc-service/db"]
# runtime-benchmarks = []
# TODO: parachain
full-node = []
build-spec = [
"default",
"crab-runtime/build-spec",
]
Loading

0 comments on commit 48ccfaf

Please sign in to comment.