Skip to content

Commit

Permalink
rename the executor name
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher committed May 30, 2019
1 parent 0f0b483 commit 68ef4ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ RUN ./build.sh && cargo build --release
FROM debian:stable-slim

RUN apt-get update && apt-get -y install openssl && apt-get clean
COPY --from=builder /source/target/release/darwinia-appchain /usr/local/bin/.
COPY --from=builder /source/target/release/darwinia /usr/local/bin/.

EXPOSE 30333 9933 9944
VOLUME ["/data"]

ENTRYPOINT [ "/usr/local/bin/darwinia-appchain" ]
ENTRYPOINT [ "/usr/local/bin/darwinia" ]
CMD ["--dev"]


4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ pub mod opaque {

/// This runtime version.
pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("darwinia-appchain"),
impl_name: create_runtime_str!("darwinia-appchain"),
spec_name: create_runtime_str!("darwinia"),
impl_name: create_runtime_str!("darwinia"),
authoring_version: 3,
spec_version: 3,
impl_version: 0,
Expand Down
10 changes: 5 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ pub use substrate_cli::{VersionInfo, IntoExit, error};

fn run() -> cli::error::Result<()> {
let version = VersionInfo {
name: "Darwinia AppChain",
name: "Darwinia Relay Chain",
commit: env!("VERGEN_SHA_SHORT"),
version: env!("CARGO_PKG_VERSION"),
executable_name: "darwinia-appchain",
author: "Evolution Land <hello@evolution.land>",
description: "Application chain in Darwinia network based on substrate framework",
support_url: "https://github.com/evolutionlandorg/darwinia-appchain/issues/new",
executable_name: "darwinia",
author: "Darwinia Network <hello@darwinia.network>",
description: "Darwinia Network Relay Chain",
support_url: "https://github.com/darwinia-network/darwinia/issues/new",
};
cli::run(::std::env::args(), cli::Exit, version)
}
Expand Down

0 comments on commit 68ef4ea

Please sign in to comment.