From aa24e7fea823bb4121d13d40ccb6d09203a07017 Mon Sep 17 00:00:00 2001 From: NZT48 Date: Mon, 26 Feb 2024 16:24:06 +0100 Subject: [PATCH 1/3] Rename origintrail parachain to neuroweb --- Cargo.lock | 280 +++++++++--------- node/Cargo.toml | 16 +- node/src/chain_spec.rs | 26 +- node/src/command.rs | 18 +- node/src/main.rs | 2 +- node/src/rpc.rs | 2 +- node/src/service.rs | 6 +- pallets/xc-asset-config/src/weights.rs | 2 +- polkadot-launch/config.json | 2 +- precompiles/assets-erc20/src/lib.rs | 6 +- precompiles/assets-erc20/src/mock.rs | 2 +- precompiles/assets-erc20/src/tests.rs | 2 +- precompiles/utils/macro/src/lib.rs | 2 +- precompiles/utils/src/data.rs | 2 +- precompiles/utils/src/lib.rs | 2 +- precompiles/utils/src/testing.rs | 2 +- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 4 +- runtime/src/weights/pallet_xc_asset_config.rs | 2 +- 19 files changed, 190 insertions(+), 190 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7343abb..a9eaf34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5691,6 +5691,146 @@ dependencies = [ "tokio", ] +[[package]] +name = "neuroweb-node" +version = "1.1.1" +dependencies = [ + "clap", + "cumulus-client-cli", + "cumulus-client-consensus-aura", + "cumulus-client-consensus-common", + "cumulus-client-service", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", + "fc-db", + "fc-mapping-sync", + "fc-rpc", + "fc-rpc-core", + "fc-storage", + "fp-evm", + "fp-rpc", + "frame-benchmarking", + "frame-benchmarking-cli", + "futures", + "jsonrpsee", + "log", + "neuroweb-runtime", + "pallet-transaction-payment-rpc", + "parity-scale-codec", + "polkadot-cli", + "polkadot-primitives", + "sc-basic-authorship", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-consensus", + "sc-executor", + "sc-keystore", + "sc-network", + "sc-network-sync", + "sc-rpc", + "sc-rpc-api", + "sc-service", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", + "serde", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-offchain", + "sp-runtime", + "sp-timestamp", + "substrate-build-script-utils", + "substrate-frame-rpc-system", + "substrate-prometheus-endpoint", + "try-runtime-cli", + "xcm", +] + +[[package]] +name = "neuroweb-runtime" +version = "1.2.1" +dependencies = [ + "cumulus-pallet-aura-ext", + "cumulus-pallet-dmp-queue", + "cumulus-pallet-parachain-system", + "cumulus-pallet-session-benchmarking", + "cumulus-pallet-xcm", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "cumulus-primitives-timestamp", + "cumulus-primitives-utility", + "fp-rpc", + "fp-self-contained", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "hex-literal", + "log", + "pallet-assets", + "pallet-aura", + "pallet-authorship", + "pallet-balances", + "pallet-base-fee", + "pallet-collator-selection", + "pallet-collective", + "pallet-democracy", + "pallet-ethereum", + "pallet-evm", + "pallet-evm-accounts", + "pallet-evm-precompile-assets-erc20", + "pallet-evm-precompile-modexp", + "pallet-evm-precompile-sha3fips", + "pallet-evm-precompile-simple", + "pallet-identity", + "pallet-preimage", + "pallet-scheduler", + "pallet-session", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-treasury", + "pallet-utility", + "pallet-vesting", + "pallet-xc-asset-config", + "pallet-xcm", + "parachain-info", + "parity-scale-codec", + "polkadot-parachain", + "polkadot-runtime-common", + "scale-info", + "smallvec", + "sp-api", + "sp-block-builder", + "sp-consensus-aura", + "sp-core", + "sp-inherents", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-std", + "sp-transaction-pool", + "sp-version", + "substrate-wasm-builder", + "xcm", + "xcm-builder", + "xcm-executor", +] + [[package]] name = "nix" version = "0.24.3" @@ -5947,146 +6087,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "origintrail-parachain-node" -version = "1.1.1" -dependencies = [ - "clap", - "cumulus-client-cli", - "cumulus-client-consensus-aura", - "cumulus-client-consensus-common", - "cumulus-client-service", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "cumulus-relay-chain-interface", - "fc-db", - "fc-mapping-sync", - "fc-rpc", - "fc-rpc-core", - "fc-storage", - "fp-evm", - "fp-rpc", - "frame-benchmarking", - "frame-benchmarking-cli", - "futures", - "jsonrpsee", - "log", - "origintrail-parachain-runtime", - "pallet-transaction-payment-rpc", - "parity-scale-codec", - "polkadot-cli", - "polkadot-primitives", - "sc-basic-authorship", - "sc-chain-spec", - "sc-cli", - "sc-client-api", - "sc-consensus", - "sc-executor", - "sc-keystore", - "sc-network", - "sc-network-sync", - "sc-rpc", - "sc-rpc-api", - "sc-service", - "sc-sysinfo", - "sc-telemetry", - "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", - "serde", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-offchain", - "sp-runtime", - "sp-timestamp", - "substrate-build-script-utils", - "substrate-frame-rpc-system", - "substrate-prometheus-endpoint", - "try-runtime-cli", - "xcm", -] - -[[package]] -name = "origintrail-parachain-runtime" -version = "1.2.1" -dependencies = [ - "cumulus-pallet-aura-ext", - "cumulus-pallet-dmp-queue", - "cumulus-pallet-parachain-system", - "cumulus-pallet-session-benchmarking", - "cumulus-pallet-xcm", - "cumulus-pallet-xcmp-queue", - "cumulus-primitives-core", - "cumulus-primitives-timestamp", - "cumulus-primitives-utility", - "fp-rpc", - "fp-self-contained", - "frame-benchmarking", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal", - "log", - "pallet-assets", - "pallet-aura", - "pallet-authorship", - "pallet-balances", - "pallet-base-fee", - "pallet-collator-selection", - "pallet-collective", - "pallet-democracy", - "pallet-ethereum", - "pallet-evm", - "pallet-evm-accounts", - "pallet-evm-precompile-assets-erc20", - "pallet-evm-precompile-modexp", - "pallet-evm-precompile-sha3fips", - "pallet-evm-precompile-simple", - "pallet-identity", - "pallet-preimage", - "pallet-scheduler", - "pallet-session", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-xc-asset-config", - "pallet-xcm", - "parachain-info", - "parity-scale-codec", - "polkadot-parachain", - "polkadot-runtime-common", - "scale-info", - "smallvec", - "sp-api", - "sp-block-builder", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-std", - "sp-transaction-pool", - "sp-version", - "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", -] - [[package]] name = "p256" version = "0.11.1" diff --git a/node/Cargo.toml b/node/Cargo.toml index 8c999ea..0cf1260 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,16 +1,16 @@ [package] -name = "origintrail-parachain-node" +name = "neuroweb-node" version = "1.1.1" authors = ["TraceLabs"] -description = "OriginTrail Parachain - Cumulus FRAME-based Substrate Node" +description = "NeuroWeb - Cumulus FRAME-based Substrate Node" license = "GPL-3.0-only" -homepage = "https://parachain.origintrail.io/" -repository = "https://github.com/OriginTrail/origintrail-parachain/" +homepage = "https://neuroweb.ai/" +repository = "https://github.com/OriginTrail/neuroweb/" edition = "2021" build = "build.rs" [[bin]] -name = "origintrail-parachain" +name = "neuroweb" path = "src/main.rs" [dependencies] @@ -22,7 +22,7 @@ serde = { version = "1.0.152", features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server"] } # Local -origintrail-parachain-runtime = { path = "../runtime" } +neuroweb-runtime = { path = "../runtime" } # Substrate frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } @@ -91,10 +91,10 @@ substrate-build-script-utils = { git = "https://github.com/paritytech/substrate" default = ["fc-rpc/rpc-binary-search-estimate"] runtime-benchmarks = [ "try-runtime-cli/try-runtime", - "origintrail-parachain-runtime/runtime-benchmarks", + "neuroweb-runtime/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", ] try-runtime = [ "try-runtime-cli/try-runtime", - "origintrail-parachain-runtime/try-runtime", + "neuroweb-runtime/try-runtime", ] diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index ce9552d..1208d6a 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -1,5 +1,5 @@ use cumulus_primitives_core::ParaId; -use origintrail_parachain_runtime::{AccountId, AuraId, +use neuroweb_runtime::{AccountId, AuraId, EVMConfig, EthereumConfig, Signature, EXISTENTIAL_DEPOSIT}; use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; use sc_service::ChainType; @@ -10,7 +10,7 @@ use std::{collections::BTreeMap, str::FromStr}; /// Specialized `ChainSpec` for the normal parachain runtime. pub type ChainSpec = - sc_service::GenericChainSpec; + sc_service::GenericChainSpec; /// The default XCM version to set in genesis config. const SAFE_XCM_VERSION: u32 = xcm::prelude::XCM_VERSION; @@ -59,8 +59,8 @@ where /// Generate the session keys from individual elements. /// /// The input must be a tuple of individual keys (a single arg for now since we have just one key). -pub fn template_session_keys(keys: AuraId) -> origintrail_parachain_runtime::SessionKeys { - origintrail_parachain_runtime::SessionKeys { aura: keys } +pub fn template_session_keys(keys: AuraId) -> neuroweb_runtime::SessionKeys { + neuroweb_runtime::SessionKeys { aura: keys } } pub fn development_config() -> ChainSpec { @@ -184,23 +184,23 @@ fn testnet_genesis( _root_key: AccountId, endowed_accounts: Vec, id: ParaId, -) -> origintrail_parachain_runtime::GenesisConfig { - origintrail_parachain_runtime::GenesisConfig { - system: origintrail_parachain_runtime::SystemConfig { - code: origintrail_parachain_runtime::WASM_BINARY +) -> neuroweb_runtime::GenesisConfig { + neuroweb_runtime::GenesisConfig { + system: neuroweb_runtime::SystemConfig { + code: neuroweb_runtime::WASM_BINARY .expect("WASM binary was not build, please build it!") .to_vec(), }, - balances: origintrail_parachain_runtime::BalancesConfig { + balances: neuroweb_runtime::BalancesConfig { balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(), }, - parachain_info: origintrail_parachain_runtime::ParachainInfoConfig { parachain_id: id }, - collator_selection: origintrail_parachain_runtime::CollatorSelectionConfig { + parachain_info: neuroweb_runtime::ParachainInfoConfig { parachain_id: id }, + collator_selection: neuroweb_runtime::CollatorSelectionConfig { invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), candidacy_bond: EXISTENTIAL_DEPOSIT * 16, ..Default::default() }, - session: origintrail_parachain_runtime::SessionConfig { + session: neuroweb_runtime::SessionConfig { keys: invulnerables .into_iter() .map(|(acc, aura)| { @@ -217,7 +217,7 @@ fn testnet_genesis( aura: Default::default(), aura_ext: Default::default(), parachain_system: Default::default(), - polkadot_xcm: origintrail_parachain_runtime::PolkadotXcmConfig { + polkadot_xcm: neuroweb_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), }, // sudo: SudoConfig { diff --git a/node/src/command.rs b/node/src/command.rs index dfb38fc..ca329c5 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -4,7 +4,7 @@ use cumulus_client_cli::generate_genesis_block; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use log::{info, warn}; -use origintrail_parachain_runtime::Block; +use neuroweb_runtime::Block; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli, @@ -31,7 +31,7 @@ fn load_spec(id: &str) -> std::result::Result, String> { impl SubstrateCli for Cli { fn impl_name() -> String { - "OriginTrail Parachain".into() + "NeuroWeb".into() } fn impl_version() -> String { @@ -40,7 +40,7 @@ impl SubstrateCli for Cli { fn description() -> String { format!( - "OriginTrail Parachain\n\nThe command-line arguments provided first will be \ + "NeuroWeb\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\ {} -- ", @@ -53,7 +53,7 @@ impl SubstrateCli for Cli { } fn support_url() -> String { - "https://github.com/OriginTrail/origintrail-parachain/issues/new".into() + "https://github.com/OriginTrail/neuroweb/issues/new".into() } fn copyright_start_year() -> i32 { @@ -65,13 +65,13 @@ impl SubstrateCli for Cli { } fn native_runtime_version(_: &Box) -> &'static RuntimeVersion { - &origintrail_parachain_runtime::VERSION + &neuroweb_runtime::VERSION } } impl SubstrateCli for RelayChainCli { fn impl_name() -> String { - "OriginTrail Parachain".into() + "NeuroWeb".into() } fn impl_version() -> String { @@ -80,7 +80,7 @@ impl SubstrateCli for RelayChainCli { fn description() -> String { format!( - "OriginTrail Parachain \n\nThe command-line arguments provided first will be \ + "NeuroWeb \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\ {} -- ", Self::executable_name() @@ -92,7 +92,7 @@ impl SubstrateCli for RelayChainCli { } fn support_url() -> String { - "https://github.com/OriginTrail/origintrail-parachain/issues/new".into() + "https://github.com/OriginTrail/neuroweb/issues/new".into() } fn copyright_start_year() -> i32 { @@ -232,7 +232,7 @@ pub fn run() -> Result<()> { } #[cfg(feature = "try-runtime")] Some(Subcommand::TryRuntime(cmd)) => { - use origintrail_parachain_runtime::MILLISECS_PER_BLOCK; + use neuroweb_runtime::MILLISECS_PER_BLOCK; use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; use try_runtime_cli::block_building_info::timestamp_with_aura_info; diff --git a/node/src/main.rs b/node/src/main.rs index fdd6a8a..b895177 100644 --- a/node/src/main.rs +++ b/node/src/main.rs @@ -1,4 +1,4 @@ -//! OriginTrail Parachain Node CLI +//! NeuroWeb Node CLI #![warn(missing_docs)] diff --git a/node/src/rpc.rs b/node/src/rpc.rs index f535c92..0f0b8f1 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -7,7 +7,7 @@ use std::sync::Arc; -use origintrail_parachain_runtime::{opaque::Block, AccountId, Balance, Hash, Index as Nonce}; +use neuroweb_runtime::{opaque::Block, AccountId, Balance, Hash, Index as Nonce}; use sc_client_api::{ AuxStore, Backend, BlockchainEvents, StateBackend, StorageProvider, diff --git a/node/src/service.rs b/node/src/service.rs index 5dacffb..c08a85f 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -5,7 +5,7 @@ use std::{sync::Arc, path::PathBuf, time::Duration, collections::BTreeMap}; use cumulus_client_cli::CollatorOptions; // Local Runtime Types -use origintrail_parachain_runtime::{ +use neuroweb_runtime::{ opaque::Block, RuntimeApi, }; @@ -45,11 +45,11 @@ impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor { type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; fn dispatch(method: &str, data: &[u8]) -> Option> { - origintrail_parachain_runtime::api::dispatch(method, data) + neuroweb_runtime::api::dispatch(method, data) } fn native_version() -> sc_executor::NativeVersion { - origintrail_parachain_runtime::native_version() + neuroweb_runtime::native_version() } } diff --git a/pallets/xc-asset-config/src/weights.rs b/pallets/xc-asset-config/src/weights.rs index b588f50..f303f5e 100644 --- a/pallets/xc-asset-config/src/weights.rs +++ b/pallets/xc-asset-config/src/weights.rs @@ -10,7 +10,7 @@ //! // Executed Command: -// ./target/release/origintrail-parachain +// ./target/release/neuroweb // benchmark // pallet // --chain diff --git a/polkadot-launch/config.json b/polkadot-launch/config.json index 86f13c0..fcb0066 100644 --- a/polkadot-launch/config.json +++ b/polkadot-launch/config.json @@ -17,7 +17,7 @@ }, "parachains": [ { - "bin": "../target/release/origintrail-parachain", + "bin": "../target/release/neuroweb", "id": "200", "balance": "1000000000000000000000", "nodes": [ diff --git a/precompiles/assets-erc20/src/lib.rs b/precompiles/assets-erc20/src/lib.rs index c75f204..629163f 100644 --- a/precompiles/assets-erc20/src/lib.rs +++ b/precompiles/assets-erc20/src/lib.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of AssetsERC20 package, originally developed by Purestake Inc. -// AssetsERC20 package used in OriginTrail Parachain in terms of GPLv3. +// AssetsERC20 package used in NeuroWeb Parachain in terms of GPLv3. // // AssetsERC20 is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -90,8 +90,8 @@ pub trait AddressToAssetId { /// The following distribution has been decided for the precompiles /// 0-1023: Ethereum Mainnet Precompiles -/// 1024-2047 Precompiles that are not in Ethereum Mainnet but are neither OriginTrail Parachain specific -/// 2048-4095 OriginTrail Parachain specific precompiles +/// 1024-2047 Precompiles that are not in Ethereum Mainnet but are neither NeuroWeb Parachain specific +/// 2048-4095 NeuroWeb Parachain specific precompiles /// Asset precompiles can only fall between /// 0xFFFFFFFF00000000000000000000000000000000 - 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF /// The precompile for AssetId X, where X is a u128 (i.e.16 bytes), if 0XFFFFFFFF + Bytes(AssetId) diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index f785ded..c041729 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of AssetsERC20 package, originally developed by Purestake Inc. -// AssetsERC20 package used in OriginTrail Parachain Network in terms of GPLv3. +// AssetsERC20 package used in NeuroWeb Parachain Network in terms of GPLv3. // // AssetsERC20 is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/precompiles/assets-erc20/src/tests.rs b/precompiles/assets-erc20/src/tests.rs index 6983153..1cdd8d8 100644 --- a/precompiles/assets-erc20/src/tests.rs +++ b/precompiles/assets-erc20/src/tests.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of AssetsERC20 package, originally developed by Purestake Inc. -// AssetsERC20 package used in OriginTrail Parachain in terms of GPLv3. +// AssetsERC20 package used in NeuroWeb Parachain in terms of GPLv3. // // AssetsERC20 is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/precompiles/utils/macro/src/lib.rs b/precompiles/utils/macro/src/lib.rs index 64394e7..6a4b24d 100644 --- a/precompiles/utils/macro/src/lib.rs +++ b/precompiles/utils/macro/src/lib.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of Utils package, originally developed by Purestake Inc. -// Utils package used in OriginTrail Parachain Network in terms of GPLv3. +// Utils package used in NeuroWeb Parachain Network in terms of GPLv3. // // Utils is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/precompiles/utils/src/data.rs b/precompiles/utils/src/data.rs index bbf03c2..8edce68 100644 --- a/precompiles/utils/src/data.rs +++ b/precompiles/utils/src/data.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of Utils package, originally developed by Purestake Inc. -// Utils package used in OriginTrail Parachain Network in terms of GPLv3. +// Utils package used in NeuroWeb Parachain Network in terms of GPLv3. // // Utils is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/precompiles/utils/src/lib.rs b/precompiles/utils/src/lib.rs index e20bee6..842976c 100644 --- a/precompiles/utils/src/lib.rs +++ b/precompiles/utils/src/lib.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of Utils package, originally developed by Purestake Inc. -// Utils package used in OriginTrail Parachain Network in terms of GPLv3. +// Utils package used in NeuroWeb Parachain Network in terms of GPLv3. // // Utils is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/precompiles/utils/src/testing.rs b/precompiles/utils/src/testing.rs index 8a05bfd..a02fec2 100644 --- a/precompiles/utils/src/testing.rs +++ b/precompiles/utils/src/testing.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of Utils package, originally developed by Purestake Inc. -// Utils package used in OriginTrail Parachain Network in terms of GPLv3. +// Utils package used in NeuroWeb Parachain Network in terms of GPLv3. // // Utils is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index c4aff6a..c610ee5 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "origintrail-parachain-runtime" +name = "neuroweb-runtime" version = "1.2.1" authors = ["TraceLabs"] description = "OriginTrail Parachain Runtime - Cumulus FRAME-based Substrate Runtime" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 8183e37..fdb9a3d 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -248,9 +248,9 @@ impl_opaque_keys! { #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), - impl_name: create_runtime_str!("origintrail-parachain"), + impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 121, + spec_version: 122, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/src/weights/pallet_xc_asset_config.rs b/runtime/src/weights/pallet_xc_asset_config.rs index 229b58c..82ab92d 100644 --- a/runtime/src/weights/pallet_xc_asset_config.rs +++ b/runtime/src/weights/pallet_xc_asset_config.rs @@ -6,7 +6,7 @@ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/origintrail-parachain +// ./target/release/neuroweb // benchmark // pallet // --chain From 39388ff96ff6397da20c6a9523285c4cf6ed277b Mon Sep 17 00:00:00 2001 From: NZT48 Date: Mon, 26 Feb 2024 16:32:08 +0100 Subject: [PATCH 2/3] Bump version to 1.3.0 --- node/Cargo.toml | 2 +- runtime/Cargo.toml | 8 ++++---- runtime/src/lib.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/node/Cargo.toml b/node/Cargo.toml index 0cf1260..1e83fcd 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-node" -version = "1.1.1" +version = "1.3.0" authors = ["TraceLabs"] description = "NeuroWeb - Cumulus FRAME-based Substrate Node" license = "GPL-3.0-only" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index c610ee5..83700a2 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "neuroweb-runtime" -version = "1.2.1" +version = "1.3.0" authors = ["TraceLabs"] -description = "OriginTrail Parachain Runtime - Cumulus FRAME-based Substrate Runtime" +description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" -homepage = "https://parachain.origintrail.io/" -repository = "https://github.com/OriginTrail/origintrail-parachain/" +homepage = "https://neuroweb.ai/" +repository = "https://github.com/OriginTrail/neuroweb/" edition = "2021" [package.metadata.docs.rs] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index fdb9a3d..5a4c0d5 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -250,7 +250,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 122, + spec_version: 130, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 4885f639945cf41732175b00c155ba8ab6bac677 Mon Sep 17 00:00:00 2001 From: NZT48 Date: Tue, 16 Apr 2024 15:55:36 +0200 Subject: [PATCH 3/3] Rename origintrail parachain to neuroweb in comments --- precompiles/utils/macro/tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompiles/utils/macro/tests/tests.rs b/precompiles/utils/macro/tests/tests.rs index 6e42bc2..7e37162 100644 --- a/precompiles/utils/macro/tests/tests.rs +++ b/precompiles/utils/macro/tests/tests.rs @@ -2,7 +2,7 @@ // Copyright 2022 Stake Technologies // Copyright 2022 TraceLabs // This file is part of Utils package, originally developed by Purestake Inc. -// Utils package used in OriginTrail Parachain Network in terms of GPLv3. +// Utils package used in NeuroWeb Parachain Network in terms of GPLv3. // // Utils is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by