Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

align naming #61

Merged
merged 8 commits into from
Oct 4, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
align naming
Alain Brenzikofer committed Oct 4, 2021
commit da95652890e9d756d9b0f79459a67af2525352f3
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Integritee AG"]
build = 'build.rs'
description = 'Integritee node'
description = 'Integritee Node for Solochain'
edition = '2018'
homepage = 'https://integritee.network/'
license = 'Apache2'
16 changes: 8 additions & 8 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
@@ -53,9 +53,9 @@ pub fn development_config() -> Result<ChainSpec, String> {
let wasm_binary = WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?;
Ok(ChainSpec::from_genesis(
// Name
"Development",
"Integritee Development (Solo)",
// ID
"dev",
"integritee-solo-dev",
ChainType::Development,
move || {
genesis_config(
@@ -103,9 +103,9 @@ pub fn local_testnet_config() -> Result<ChainSpec, String> {
let wasm_binary = WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?;
Ok(ChainSpec::from_genesis(
// Name
"Local Testnet",
"Integritee Local Testnet (Solo)",
// ID
"local_testnet",
"integritee-solo-local-testnet",
ChainType::Local,
move || {
genesis_config(
@@ -294,8 +294,8 @@ impl CrannyKeys {

pub fn integritee_mainnet_fresh_config() -> Result<ChainSpec, String> {
integritee_chain_spec(
"Integritee Mainnet",
"integritee-mainnet",
"Integritee Network (Solo)",
"integritee-solo",
GenesisKeys::Integritee,
r#"{
"ss58Format": 13,
@@ -307,8 +307,8 @@ pub fn integritee_mainnet_fresh_config() -> Result<ChainSpec, String> {

pub fn cranny_fresh_config() -> Result<ChainSpec, String> {
integritee_chain_spec(
"Cranny",
"cranny",
"Integritee Testnet Cranny",
"integritee-cranny",
GenesisKeys::Cranny,
r#"{
"ss58Format": 42,
4 changes: 2 additions & 2 deletions node/src/command.rs
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ use sc_service::PartialComponents;

impl SubstrateCli for Cli {
fn impl_name() -> String {
"integritee Node".into()
"Integritee Node".into()
}

fn impl_version() -> String {
@@ -42,7 +42,7 @@ impl SubstrateCli for Cli {
}

fn support_url() -> String {
"support.anonymous.an".into()
"https://github.com/integritee-network/integritee-node/issues".into()
}

fn copyright_start_year() -> i32 {
6 changes: 4 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -107,8 +107,10 @@ pub mod opaque {
// https://substrate.dev/docs/en/knowledgebase/runtime/upgrades#runtime-versioning
#[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("integritee-node-runtime"),
impl_name: create_runtime_str!("integritee-node-runtime"),
/// used by js/apps to determine spec / type defintions
/// name should at least distinguish between solo, parachain, shell
spec_name: create_runtime_str!("integritee-solo"),
impl_name: create_runtime_str!("integritee-solo"),

/// `authoring_version` is the version of the authorship interface. An authoring node
/// will not attempt to author blocks unless this is equal to its native runtime.