Skip to content

Commit

Permalink
Release 0.6.10 (#523)
Browse files Browse the repository at this point in the history
* companion: for #282

* bump: version

* release: 0.6.10

* update: half the byte fee
  • Loading branch information
aurexav authored Sep 11, 2020
1 parent 3e542ae commit 93dffe6
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 42 deletions.
60 changes: 30 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.10"

[[bin]]
name = "darwinia"
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.10"

[package.metadata.wasm-pack.profile.release]
# `wasm-opt` has some problems on linux, see
Expand Down
2 changes: 1 addition & 1 deletion node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.10"

[dependencies]
# crates
Expand Down
6 changes: 3 additions & 3 deletions node/service/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.10"

[dependencies]
# crates
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.10"

[dependencies]
# crates
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.10"

[dependencies]
# crates
Expand Down
2 changes: 1 addition & 1 deletion runtime/crab/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.10"

[dependencies]
# crates
Expand Down
2 changes: 2 additions & 0 deletions runtime/crab/darwinia_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
"ring_bond": "Balance",
"kton_bond": "Balance"
},
"__[pallet.bridge.crab]__": {},
"MappedRing": "u128",
"__[pallet.bridge.eth]__": {},
"EthereumTransactionIndex": "(H256, u64)",
"EthereumHeaderBrief": {
Expand Down
2 changes: 2 additions & 0 deletions runtime/crab/polkadot_compatible_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@
"ring_bond": "Balance",
"kton_bond": "Balance"
},
"__[pallet.bridge.crab]__": {},
"MappedRing": "u128",
"__[pallet.bridge.eth]__": {},
"EthereumTransactionIndex": "(H256, u64)",
"EthereumHeaderBrief": {
Expand Down
4 changes: 2 additions & 2 deletions runtime/crab/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -265,7 +265,7 @@ impl OnUnbalanced<NegativeImbalance<Runtime>> 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;
Expand Down

0 comments on commit 93dffe6

Please sign in to comment.