From aba5d33df111078436b1fbb7b4f8f6ab85856d9a Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Fri, 11 Sep 2020 15:59:44 +0800 Subject: [PATCH 1/4] companion: for #282 --- Cargo.lock | 44 ++++++++++----------- node/service/src/chain_spec.rs | 6 +-- runtime/crab/darwinia_types.json | 2 + runtime/crab/polkadot_compatible_types.json | 2 + 4 files changed, 29 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0d59b3c1a..dc3636750 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -190,7 +190,7 @@ checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034" [[package]] name = "array-bytes" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "sp-std 2.0.0-rc6", ] @@ -1197,7 +1197,7 @@ dependencies = [ [[package]] name = "darwinia-balances" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-balances-rpc-runtime-api", "darwinia-support", @@ -1212,7 +1212,7 @@ dependencies = [ [[package]] name = "darwinia-balances-rpc" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-balances-rpc-runtime-api", "jsonrpc-core", @@ -1227,7 +1227,7 @@ dependencies = [ [[package]] name = "darwinia-balances-rpc-runtime-api" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-support", "parity-scale-codec", @@ -1239,7 +1239,7 @@ dependencies = [ [[package]] name = "darwinia-claims" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "array-bytes", "darwinia-support", @@ -1281,7 +1281,7 @@ dependencies = [ [[package]] name = "darwinia-cli" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "sc-cli", "sc-client-api", @@ -1294,7 +1294,7 @@ dependencies = [ [[package]] name = "darwinia-crab-issuing" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "frame-support", "frame-system", @@ -1306,7 +1306,7 @@ dependencies = [ [[package]] name = "darwinia-elections-phragmen" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-support", "frame-support", @@ -1321,7 +1321,7 @@ dependencies = [ [[package]] name = "darwinia-ethereum-backing" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "array-bytes", "darwinia-support", @@ -1340,7 +1340,7 @@ dependencies = [ [[package]] name = "darwinia-ethereum-relay" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "array-bytes", "blake2-rfc", @@ -1364,7 +1364,7 @@ dependencies = [ [[package]] name = "darwinia-header-mmr" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "ckb-merkle-mountain-range", "darwinia-header-mmr-rpc-runtime-api", @@ -1380,7 +1380,7 @@ dependencies = [ [[package]] name = "darwinia-header-mmr-rpc" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-header-mmr-rpc-runtime-api", "jsonrpc-core", @@ -1395,7 +1395,7 @@ dependencies = [ [[package]] name = "darwinia-header-mmr-rpc-runtime-api" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-support", "parity-scale-codec", @@ -1419,7 +1419,7 @@ dependencies = [ [[package]] name = "darwinia-relay-primitives" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "frame-support", "parity-scale-codec", @@ -1430,7 +1430,7 @@ dependencies = [ [[package]] name = "darwinia-relayer-game" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-relay-primitives", "darwinia-support", @@ -1542,7 +1542,7 @@ dependencies = [ [[package]] name = "darwinia-staking" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-staking-rpc-runtime-api", "darwinia-support", @@ -1566,7 +1566,7 @@ dependencies = [ [[package]] name = "darwinia-staking-rpc" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-staking-rpc-runtime-api", "jsonrpc-core", @@ -1581,7 +1581,7 @@ dependencies = [ [[package]] name = "darwinia-staking-rpc-runtime-api" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-support", "parity-scale-codec", @@ -1593,7 +1593,7 @@ dependencies = [ [[package]] name = "darwinia-support" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "ethereum-primitives", "frame-support", @@ -1607,7 +1607,7 @@ dependencies = [ [[package]] name = "darwinia-treasury" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "darwinia-support", "frame-support", @@ -1863,7 +1863,7 @@ dependencies = [ [[package]] name = "ethereum-primitives" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "array-bytes", "ethash", @@ -3894,7 +3894,7 @@ checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" [[package]] name = "merkle-patricia-trie" version = "1.0.0-alpha.3" -source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#9f128f43a5b7cef6775450f00d627d725d81c0a9" +source = "git+https://github.com/darwinia-network/darwinia-common.git?branch=master#4b0efe83f4e6f69d9725a98892bebd2bf8942736" dependencies = [ "hashbrown 0.8.2", "keccak-hash", diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index d6f55f746..ee121ae0f 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -11,7 +11,7 @@ use sc_telemetry::TelemetryEndpoints; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; use sp_consensus_babe::AuthorityId as BabeId; use sp_core::{crypto::UncheckedInto, sr25519, Pair, Public}; -use sp_runtime::{traits::IdentifyAccount, Perbill, Perquintill}; +use sp_runtime::{traits::IdentifyAccount, Perbill}; // --- darwinia --- use array_bytes::fixed_hex_bytes_unchecked; use crab_runtime::{constants::currency::COIN, GenesisConfig as CrabGenesisConfig}; @@ -262,7 +262,7 @@ pub fn crab_build_spec_genesis() -> CrabGenesisConfig { .collect(), force_era: crab_runtime::Forcing::NotForcing, slash_reward_fraction: Perbill::from_percent(10), - payout_fraction: Perquintill::from_percent(50), + payout_fraction: Perbill::from_percent(50), ..Default::default() }), pallet_session: Some(crab_runtime::SessionConfig { @@ -450,7 +450,7 @@ pub fn crab_testnet_genesis( invulnerables: initial_authorities.iter().cloned().map(|x| x.0).collect(), force_era: crab_runtime::Forcing::ForceAlways, slash_reward_fraction: Perbill::from_percent(10), - payout_fraction: Perquintill::from_percent(50), + payout_fraction: Perbill::from_percent(50), ..Default::default() }), pallet_session: Some(crab_runtime::SessionConfig { diff --git a/runtime/crab/darwinia_types.json b/runtime/crab/darwinia_types.json index b7aa6c9c8..0abd1b27e 100644 --- a/runtime/crab/darwinia_types.json +++ b/runtime/crab/darwinia_types.json @@ -118,6 +118,8 @@ "ring_bond": "Balance", "kton_bond": "Balance" }, + "__[pallet.bridge.crab]__": {}, + "MappedRing": "u128", "__[pallet.bridge.eth]__": {}, "EthereumTransactionIndex": "(H256, u64)", "EthereumHeaderBrief": { diff --git a/runtime/crab/polkadot_compatible_types.json b/runtime/crab/polkadot_compatible_types.json index 8219e3c83..b13bc555d 100644 --- a/runtime/crab/polkadot_compatible_types.json +++ b/runtime/crab/polkadot_compatible_types.json @@ -126,6 +126,8 @@ "ring_bond": "Balance", "kton_bond": "Balance" }, + "__[pallet.bridge.crab]__": {}, + "MappedRing": "u128", "__[pallet.bridge.eth]__": {}, "EthereumTransactionIndex": "(H256, u64)", "EthereumHeaderBrief": { From cc0ee74ba7912c5afef85809d7e1879ca6753a78 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Fri, 11 Sep 2020 15:59:51 +0800 Subject: [PATCH 2/4] bump: version --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- rpc/Cargo.toml | 2 +- runtime/common/Cargo.toml | 2 +- runtime/crab/Cargo.toml | 2 +- runtime/crab/src/lib.rs | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dc3636750..45143fd2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -874,7 +874,7 @@ checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634" [[package]] name = "crab-runtime" -version = "0.6.9" +version = "0.7.0" dependencies = [ "darwinia-balances", "darwinia-balances-rpc-runtime-api", @@ -1183,10 +1183,10 @@ dependencies = [ [[package]] name = "darwinia" -version = "0.6.9" +version = "0.7.0" dependencies = [ "assert_cmd", - "darwinia-cli 0.6.9", + "darwinia-cli 0.7.0", "darwinia-service", "futures 0.3.5", "nix 0.18.0", @@ -1255,7 +1255,7 @@ dependencies = [ [[package]] name = "darwinia-cli" -version = "0.6.9" +version = "0.7.0" dependencies = [ "darwinia-cli 1.0.0-alpha.3", "darwinia-service", @@ -1407,7 +1407,7 @@ dependencies = [ [[package]] name = "darwinia-primitives" -version = "0.6.9" +version = "0.7.0" dependencies = [ "frame-system", "parity-scale-codec", @@ -1444,7 +1444,7 @@ dependencies = [ [[package]] name = "darwinia-rpc" -version = "0.6.9" +version = "0.7.0" dependencies = [ "darwinia-balances-rpc", "darwinia-header-mmr-rpc", @@ -1474,7 +1474,7 @@ dependencies = [ [[package]] name = "darwinia-runtime-common" -version = "0.6.9" +version = "0.7.0" dependencies = [ "darwinia-balances", "darwinia-primitives", @@ -1492,7 +1492,7 @@ dependencies = [ [[package]] name = "darwinia-service" -version = "0.6.9" +version = "0.7.0" dependencies = [ "array-bytes", "crab-runtime", diff --git a/Cargo.toml b/Cargo.toml index 8a611367d..d13909669 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.6.9" +version = "0.7.0" [[bin]] name = "darwinia" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 4c0192072..475e2e1e8 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -7,7 +7,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-cli" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.6.9" +version = "0.7.0" [package.metadata.wasm-pack.profile.release] # `wasm-opt` has some problems on linux, see diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index f2b485e03..9557f5537 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-service" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.6.9" +version = "0.7.0" [dependencies] # crates diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index fda635540..b29e054a7 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-primitives" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.6.9" +version = "0.7.0" [dependencies] # crates diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index b61d487f2..0d3199634 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-rpc" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.6.9" +version = "0.7.0" [dependencies] # crates diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 4be7814a4..63874efd3 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-runtime-common" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.6.9" +version = "0.7.0" [dependencies] # crates diff --git a/runtime/crab/Cargo.toml b/runtime/crab/Cargo.toml index d9e43ff2d..bb6d34e0f 100644 --- a/runtime/crab/Cargo.toml +++ b/runtime/crab/Cargo.toml @@ -7,7 +7,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "crab-runtime" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.6.9" +version = "0.7.0" [dependencies] # crates diff --git a/runtime/crab/src/lib.rs b/runtime/crab/src/lib.rs index 6dd937528..485d7ef91 100644 --- a/runtime/crab/src/lib.rs +++ b/runtime/crab/src/lib.rs @@ -132,7 +132,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("Crab"), impl_name: create_runtime_str!("Darwinia Crab"), authoring_version: 0, - spec_version: 9, + spec_version: 10, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, From 17c0b60c81765bc08f7249f1fc38fa3e6f67db74 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Fri, 11 Sep 2020 16:03:36 +0800 Subject: [PATCH 3/4] release: 0.6.10 --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- rpc/Cargo.toml | 2 +- runtime/common/Cargo.toml | 2 +- runtime/crab/Cargo.toml | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45143fd2a..d75ef1805 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -874,7 +874,7 @@ checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634" [[package]] name = "crab-runtime" -version = "0.7.0" +version = "0.6.10" dependencies = [ "darwinia-balances", "darwinia-balances-rpc-runtime-api", @@ -1183,10 +1183,10 @@ dependencies = [ [[package]] name = "darwinia" -version = "0.7.0" +version = "0.6.10" dependencies = [ "assert_cmd", - "darwinia-cli 0.7.0", + "darwinia-cli 0.6.10", "darwinia-service", "futures 0.3.5", "nix 0.18.0", @@ -1255,7 +1255,7 @@ dependencies = [ [[package]] name = "darwinia-cli" -version = "0.7.0" +version = "0.6.10" dependencies = [ "darwinia-cli 1.0.0-alpha.3", "darwinia-service", @@ -1407,7 +1407,7 @@ dependencies = [ [[package]] name = "darwinia-primitives" -version = "0.7.0" +version = "0.6.10" dependencies = [ "frame-system", "parity-scale-codec", @@ -1444,7 +1444,7 @@ dependencies = [ [[package]] name = "darwinia-rpc" -version = "0.7.0" +version = "0.6.10" dependencies = [ "darwinia-balances-rpc", "darwinia-header-mmr-rpc", @@ -1474,7 +1474,7 @@ dependencies = [ [[package]] name = "darwinia-runtime-common" -version = "0.7.0" +version = "0.6.10" dependencies = [ "darwinia-balances", "darwinia-primitives", @@ -1492,7 +1492,7 @@ dependencies = [ [[package]] name = "darwinia-service" -version = "0.7.0" +version = "0.6.10" dependencies = [ "array-bytes", "crab-runtime", diff --git a/Cargo.toml b/Cargo.toml index d13909669..2d78d9f97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.7.0" +version = "0.6.10" [[bin]] name = "darwinia" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 475e2e1e8..04b8dc14e 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -7,7 +7,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-cli" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.7.0" +version = "0.6.10" [package.metadata.wasm-pack.profile.release] # `wasm-opt` has some problems on linux, see diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 9557f5537..fcdac703a 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-service" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.7.0" +version = "0.6.10" [dependencies] # crates diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index b29e054a7..73f3e5340 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-primitives" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.7.0" +version = "0.6.10" [dependencies] # crates diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 0d3199634..0634d15c2 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-rpc" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.7.0" +version = "0.6.10" [dependencies] # crates diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 63874efd3..278224c7f 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "darwinia-runtime-common" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.7.0" +version = "0.6.10" [dependencies] # crates diff --git a/runtime/crab/Cargo.toml b/runtime/crab/Cargo.toml index bb6d34e0f..c70f60601 100644 --- a/runtime/crab/Cargo.toml +++ b/runtime/crab/Cargo.toml @@ -7,7 +7,7 @@ homepage = "https://darwinia.network/" license = "GPL-3.0" name = "crab-runtime" repository = "https://github.com/darwinia-network/darwinia/" -version = "0.7.0" +version = "0.6.10" [dependencies] # crates From 908fa90aca87c1465f389bf50538cebe9bf91f6c Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Fri, 11 Sep 2020 16:04:59 +0800 Subject: [PATCH 4/4] update: half the byte fee --- runtime/crab/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/crab/src/lib.rs b/runtime/crab/src/lib.rs index 485d7ef91..40d9b8fbf 100644 --- a/runtime/crab/src/lib.rs +++ b/runtime/crab/src/lib.rs @@ -265,7 +265,7 @@ impl OnUnbalanced> for DealWithFees { } } parameter_types! { - pub const TransactionByteFee: Balance = 10 * MILLI; + pub const TransactionByteFee: Balance = 5 * MILLI; } impl pallet_transaction_payment::Trait for Runtime { type Currency = Ring;