Skip to content

Commit

Permalink
Merge pull request #25 from DoraFactory/polkadot-v0.9.19
Browse files Browse the repository at this point in the history
release-v0.1.0
  • Loading branch information
tinydjp authored Jun 14, 2022
2 parents a968da4 + 7e51ea9 commit f7ac5e3
Show file tree
Hide file tree
Showing 12 changed files with 904 additions and 446 deletions.
531 changes: 252 additions & 279 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dorafactory-node"
version = "4.0.0-dev"
version = "0.1.0"
authors = ["DoraFactory Developers <https://github.com/DoraFactory>"]
repository = "https://github.com/DoraFactory/dorafactory-node/"
edition = "2021"
Expand All @@ -21,7 +21,7 @@ derive_more = "0.99.2"
log = "0.4.14"
codec = { package = "parity-scale-codec", version = "3.0.0" }

dorafactory-node-runtime = { path = "../runtime" , version = "4.0.0-dev"}
dorafactory-node-runtime = { path = "../runtime" , version = "0.1.0"}

# Substrate Dependencies
## FRAME dependencies
Expand Down
18 changes: 9 additions & 9 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ fn load_spec(id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, St

impl SubstrateCli for Cli {
fn impl_name() -> String {
"Parachain Collator Template".into()
"DoraFactory Node".into()
}

fn impl_version() -> String {
env!("SUBSTRATE_CLI_IMPL_VERSION").into()
}

fn description() -> String {
"Parachain Collator Template\n\nThe command-line arguments provided first will be \
"DoraFactory Node\n\nThe command-line arguments provided first will be \
passed to the parachain node, while the arguments provided after -- will be passed \
to the relay chain node.\n\n\
parachain-collator <parachain-args> -- <relay-chain-args>"
dorafactory-node <parachain-args> -- <relay-chain-args>"
.into()
}

Expand All @@ -72,11 +72,11 @@ impl SubstrateCli for Cli {
}

fn support_url() -> String {
"https://github.com/paritytech/cumulus/issues/new".into()
"https://github.com/DoraFactory/dorafactory-node/issues/new".into()
}

fn copyright_start_year() -> i32 {
2020
2022
}

fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {
Expand All @@ -90,18 +90,18 @@ impl SubstrateCli for Cli {

impl SubstrateCli for RelayChainCli {
fn impl_name() -> String {
"Dorafactory Node".into()
"DoraFactory Node".into()
}

fn impl_version() -> String {
env!("SUBSTRATE_CLI_IMPL_VERSION").into()
}

fn description() -> String {
"Parachain Collator Template\n\nThe command-line arguments provided first will be \
"DoraFactory Node\n\nThe command-line arguments provided first will be \
passed to the parachain node, while the arguments provided after -- will be passed \
to the relay chain node.\n\n\
parachain-collator <parachain-args> -- <relay-chain-args>"
dorafactory-node <parachain-args> -- <relay-chain-args>"
.into()
}

Expand All @@ -110,7 +110,7 @@ impl SubstrateCli for RelayChainCli {
}

fn support_url() -> String {
"https://github.com/paritytech/cumulus/issues/new".into()
"https://github.com/DoraFactory/dorafactory-node/issues/new".into()
}

fn copyright_start_year() -> i32 {
Expand Down
22 changes: 18 additions & 4 deletions pallets/dora-rewards/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-dora-rewards"
version = "4.0.0-dev"
version = "0.1.0"
authors = ["DoraFactory Developers <https://github.com/DoraFactory>"]
description = "dora factory's reward pallet for the contributors."
edition = "2021"
Expand All @@ -16,12 +16,18 @@ frame-system = { default-features = false, git = "https://github.com/paritytech/
frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19", optional = true }
pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
log = {default-features = false, version ="0.4.14"}

# cumulus
cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false, optional = true}
cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false, optional = true }
cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false, optional = true }

[dev-dependencies]
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" }

[features]
default = ["std"]
Expand All @@ -32,8 +38,16 @@ std = [
"frame-system/std",
"frame-benchmarking/std",
"pallet-balances/std",
"cumulus-pallet-parachain-system/std",
"cumulus-primitives-core/std",
"cumulus-primitives-parachain-inherent/std",
"sp-std/std",
"sp-runtime/std",
]
runtime-benchmarks = ["frame-benchmarking"]
runtime-benchmarks = [
"frame-benchmarking",
"cumulus-primitives-core",
"cumulus-pallet-parachain-system",
"cumulus-primitives-parachain-inherent",
]
try-runtime = ["frame-support/try-runtime"]
Loading

0 comments on commit f7ac5e3

Please sign in to comment.