Skip to content

Commit

Permalink
Become an appchain template of 🐙 v0.9.40
Browse files Browse the repository at this point in the history
  • Loading branch information
en committed Apr 1, 2023
1 parent 81a16c3 commit 5dac0a5
Show file tree
Hide file tree
Showing 21 changed files with 980 additions and 3,494 deletions.
551 changes: 429 additions & 122 deletions Cargo.lock

Large diffs are not rendered by default.

35 changes: 19 additions & 16 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "node-cli"
version = "3.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
description = "Generic Substrate node implementation in Rust."
version = "0.9.40"
authors = ["Octopus Network <[email protected]>"]
description = "A minimal node template for octopus appchain."
build = "build.rs"
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
default-run = "substrate"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
default-run = "appchain-barnacle"
homepage = "https://oct.network/"
repository = "https://github.com/octopus-network/barnacle/"
publish = false

[package.metadata.wasm-pack.profile.release]
Expand All @@ -19,14 +19,8 @@ wasm-opt = false
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[badges]
travis-ci = { repository = "paritytech/substrate" }
maintenance = { status = "actively-developed" }
is-it-maintained-issue-resolution = { repository = "paritytech/substrate" }
is-it-maintained-open-issues = { repository = "paritytech/substrate" }

[[bin]]
name = "substrate"
name = "appchain-barnacle"
path = "bin/main.rs"
required-features = ["cli"]

Expand Down Expand Up @@ -91,7 +85,7 @@ pallet-asset-tx-payment = { version = "4.0.0-dev", git = "https://github.com/par
pallet-im-online = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }

# node-specific dependencies
kitchensink-runtime = { version = "3.0.0-dev", path = "../runtime" }
barnacle-runtime = { version = "3.0.0-dev", path = "../runtime" }
node-rpc = { version = "3.0.0-dev", path = "../rpc" }
node-primitives = { version = "2.0.0", path = "../primitives" }
node-executor = { version = "3.0.0-dev", path = "../executor" }
Expand All @@ -103,6 +97,15 @@ node-inspect = { version = "0.9.0-dev", optional = true, path = "../inspect" }
try-runtime-cli = { version = "0.10.0-dev", optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }
serde_json = "1.0.85"

# beefy
beefy = { package = "sc-consensus-beefy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }
beefy-primitives = { package = "sp-consensus-beefy", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }
mmr-gadget = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }
sp-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }

# octopus pallets
pallet-octopus-appchain = { git = "https://github.com/octopus-network/octopus-pallets", branch = "main" }

[dev-dependencies]
sc-keystore = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }
sc-client-db = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }
Expand Down Expand Up @@ -154,9 +157,9 @@ cli = [
"try-runtime-cli",
]
runtime-benchmarks = [
"kitchensink-runtime/runtime-benchmarks",
"barnacle-runtime/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks"
]
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change
# in the near future.
try-runtime = ["kitchensink-runtime/try-runtime", "try-runtime-cli/try-runtime"]
try-runtime = ["barnacle-runtime/try-runtime", "try-runtime-cli/try-runtime"]
41 changes: 0 additions & 41 deletions cli/doc/shell-completion.adoc

This file was deleted.

139 changes: 0 additions & 139 deletions cli/res/flaming-fir.json

This file was deleted.

Empty file added cli/res/octopus-mainnet.json
Empty file.
Empty file added cli/res/octopus-testnet.json
Empty file.
2 changes: 1 addition & 1 deletion cli/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
use crate::service::{create_extrinsic, FullClient};

use kitchensink_runtime::{BalancesCall, SystemCall};
use barnacle_runtime::{BalancesCall, SystemCall};
use node_primitives::{AccountId, Balance};
use sc_cli::Result;
use sp_inherents::{InherentData, InherentDataProvider};
Expand Down
Loading

0 comments on commit 5dac0a5

Please sign in to comment.