difftreelog
Merge pull request #322 from UniqueNetwork/release/opal-v918000
in: master
Release v918000
12 files changed
.envdiffbeforeafterboth--- a/.env
+++ b/.env
@@ -1,6 +1,6 @@
RUST_TOOLCHAIN=nightly-2021-11-11
RUST_C=1.58.0-nightly
-POLKA_VERSION=release-v0.9.17
+POLKA_VERSION=release-v0.9.18
UNIQUE_BRANCH=develop
USER=***
PASS=***
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5565,7 +5565,7 @@
[[package]]
name = "opal-runtime"
-version = "0.1.0"
+version = "0.9.18"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
@@ -8693,7 +8693,7 @@
[[package]]
name = "quartz-runtime"
-version = "0.1.0"
+version = "0.9.18"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
@@ -12402,7 +12402,7 @@
[[package]]
name = "unique-node"
-version = "0.9.17"
+version = "0.9.18"
dependencies = [
"clap",
"cumulus-client-cli",
@@ -12534,7 +12534,7 @@
[[package]]
name = "unique-runtime"
-version = "0.9.17"
+version = "0.9.18"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
@@ -12610,7 +12610,7 @@
[[package]]
name = "unique-runtime-common"
-version = "0.1.0"
+version = "0.9.18"
dependencies = [
"fp-rpc",
"frame-support",
README.mddiffbeforeafterboth--- a/README.md
+++ b/README.md
@@ -63,12 +63,7 @@
5. Build:
```bash
-cargo build
-```
-
-optionally, build in release:
-```bash
-cargo build --release
+cargo build --features=unique-runtime,quartz-runtime --release
```
## Building as Parachain locally
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -283,7 +283,7 @@
license = 'GPLv3'
name = 'unique-node'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.17'
+version = '0.9.18'
[[bin]]
name = 'unique-collator'
@@ -312,7 +312,7 @@
unique-rpc = { default-features = false, path = "../rpc" }
[features]
-default = ["unique-runtime", "quartz-runtime"]
+default = []
runtime-benchmarks = [
'unique-runtime/runtime-benchmarks',
'polkadot-service/runtime-benchmarks',
node/cli/src/chain_spec.rsdiffbeforeafterboth--- a/node/cli/src/chain_spec.rs
+++ b/node/cli/src/chain_spec.rs
@@ -128,14 +128,14 @@
pub fn development_config() -> OpalChainSpec {
let mut properties = Map::new();
properties.insert("tokenSymbol".into(), "OPL".into());
- properties.insert("tokenDecimals".into(), 15.into());
+ properties.insert("tokenDecimals".into(), 18.into());
properties.insert("ss58Format".into(), 42.into());
OpalChainSpec::from_genesis(
// Name
- "Development",
+ "OPAL by UNIQUE",
// ID
- "dev",
+ "opal_dev",
ChainType::Local,
move || {
testnet_genesis(
@@ -171,11 +171,16 @@
}
pub fn local_testnet_rococo_config() -> OpalChainSpec {
+ let mut properties = Map::new();
+ properties.insert("tokenSymbol".into(), "OPL".into());
+ properties.insert("tokenDecimals".into(), 18.into());
+ properties.insert("ss58Format".into(), 42.into());
+
OpalChainSpec::from_genesis(
// Name
- "Local Testnet",
+ "OPAL by UNIQUE",
// ID
- "local_testnet",
+ "opal_local",
ChainType::Local,
move || {
testnet_genesis(
@@ -211,7 +216,7 @@
None,
None,
// Properties
- None,
+ Some(properties),
// Extensions
Extensions {
relay_chain: "rococo-local".into(),
runtime/common/Cargo.tomldiffbeforeafterboth1[package]2authors = ['Unique Network <support@uniquenetwork.io>']3description = 'Unique Runtime Common'4edition = '2021'5homepage = 'https://unique.network'6license = 'All Rights Reserved'7name = 'unique-runtime-common'8repository = 'https://github.com/UniqueNetwork/unique-chain'9version = '0.1.0'1011[features]12default = ['std']13std = [14 'sp-core/std',15 'sp-runtime/std',16 'codec/std',17 'frame-support/std',18 'frame-system/std',19 'sp-consensus-aura/std',20 'pallet-common/std',21 'fp-rpc/std',22]23runtime-benchmarks = [24 'sp-runtime/runtime-benchmarks',25 'frame-support/runtime-benchmarks',26 'frame-system/runtime-benchmarks',27]2829[dependencies.sp-core]30default-features = false31git = 'https://github.com/paritytech/substrate.git'32branch = 'polkadot-v0.9.18'3334[dependencies.sp-runtime]35default-features = false36git = 'https://github.com/paritytech/substrate.git'37branch = 'polkadot-v0.9.18'3839[dependencies.codec]40default-features = false41features = ['derive']42package = 'parity-scale-codec'43version = '3.1.2'4445[dependencies.scale-info]46default-features = false47features = ["derive"]48version = "2.0.1"4950[dependencies.frame-support]51default-features = false52git = 'https://github.com/paritytech/substrate.git'53branch = 'polkadot-v0.9.18'5455[dependencies.frame-system]56default-features = false57git = 'https://github.com/paritytech/substrate.git'58branch = 'polkadot-v0.9.18'5960[dependencies.pallet-common]61default-features = false62path = "../../pallets/common"6364[dependencies.sp-consensus-aura]65default-features = false66git = 'https://github.com/paritytech/substrate.git'67branch = 'polkadot-v0.9.18'6869[dependencies.fp-rpc]70default-features = false71git = "https://github.com/uniquenetwork/frontier.git"72branch = "unique-polkadot-v0.9.18"1[package]2authors = ['Unique Network <support@uniquenetwork.io>']3description = 'Unique Runtime Common'4edition = '2021'5homepage = 'https://unique.network'6license = 'All Rights Reserved'7name = 'unique-runtime-common'8repository = 'https://github.com/UniqueNetwork/unique-chain'9version = '0.9.18'1011[features]12default = ['std']13std = [14 'sp-core/std',15 'sp-runtime/std',16 'codec/std',17 'frame-support/std',18 'frame-system/std',19 'sp-consensus-aura/std',20 'pallet-common/std',21 'fp-rpc/std',22]23runtime-benchmarks = [24 'sp-runtime/runtime-benchmarks',25 'frame-support/runtime-benchmarks',26 'frame-system/runtime-benchmarks',27]2829[dependencies.sp-core]30default-features = false31git = 'https://github.com/paritytech/substrate.git'32branch = 'polkadot-v0.9.18'3334[dependencies.sp-runtime]35default-features = false36git = 'https://github.com/paritytech/substrate.git'37branch = 'polkadot-v0.9.18'3839[dependencies.codec]40default-features = false41features = ['derive']42package = 'parity-scale-codec'43version = '3.1.2'4445[dependencies.scale-info]46default-features = false47features = ["derive"]48version = "2.0.1"4950[dependencies.frame-support]51default-features = false52git = 'https://github.com/paritytech/substrate.git'53branch = 'polkadot-v0.9.18'5455[dependencies.frame-system]56default-features = false57git = 'https://github.com/paritytech/substrate.git'58branch = 'polkadot-v0.9.18'5960[dependencies.pallet-common]61default-features = false62path = "../../pallets/common"6364[dependencies.sp-consensus-aura]65default-features = false66git = 'https://github.com/paritytech/substrate.git'67branch = 'polkadot-v0.9.18'6869[dependencies.fp-rpc]70default-features = false71git = "https://github.com/uniquenetwork/frontier.git"72branch = "unique-polkadot-v0.9.18"runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -10,7 +10,7 @@
license = 'GPLv3'
name = 'opal-runtime'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.1.0'
+version = '0.9.18'
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -114,7 +114,7 @@
use unique_runtime_common::{impl_common_runtime_apis, types::*, constants::*};
-pub const RUNTIME_NAME: &str = "Opal";
+pub const RUNTIME_NAME: &str = "opal";
type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;
@@ -151,7 +151,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 917004,
+ spec_version: 918000,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -10,7 +10,7 @@
license = 'GPLv3'
name = 'quartz-runtime'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.1.0'
+version = '0.9.18'
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -114,7 +114,7 @@
use unique_runtime_common::{impl_common_runtime_apis, types::*, constants::*};
-pub const RUNTIME_NAME: &str = "Quartz";
+pub const RUNTIME_NAME: &str = "quartz";
type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;
@@ -151,7 +151,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 917004,
+ spec_version: 918000,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -10,7 +10,7 @@
license = 'GPLv3'
name = 'unique-runtime'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.17'
+version = '0.9.18'
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -113,7 +113,7 @@
use unique_runtime_common::{impl_common_runtime_apis, types::*, constants::*};
-pub const RUNTIME_NAME: &str = "Unique";
+pub const RUNTIME_NAME: &str = "unique";
type CrossAccountId = pallet_common::account::BasicCrossAccountId<Runtime>;
@@ -150,7 +150,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 917004,
+ spec_version: 918000,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,