Skip to content

Commit

Permalink
Release v6.2.1 (#1129)
Browse files Browse the repository at this point in the history
* Double Kusama `MaxBridgedHeaderSize` (#1127)

* Double size for kusama header

* Format

* Format

* Update runtime/darwinia/src/pallets/bridge_grandpa.rs

---------

Co-authored-by: Xavier Lau <xavier@inv.cafe>

* Bump

---------

Co-authored-by: fewensa <37804932+fewensa@users.noreply.github.com>
  • Loading branch information
AurevoirXavier and fewensa authored Apr 26, 2023
1 parent 904babc commit 5ad9a8d
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 28 deletions.
42 changes: 21 additions & 21 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 @@ -17,7 +17,7 @@ edition = "2021"
homepage = "https://darwinia.network"
license = "GPL-3.0"
repository = "https://github.com/darwinia-network/darwinia"
version = "6.2.0"
version = "6.2.1"

[workspace.dependencies]
# crates.io
Expand Down
2 changes: 1 addition & 1 deletion runtime/crab/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion {
spec_name: sp_runtime::create_runtime_str!("Crab2"),
impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"),
authoring_version: 0,
spec_version: 6_2_0_0,
spec_version: 6_2_1_0,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 0,
Expand Down
2 changes: 1 addition & 1 deletion runtime/darwinia/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion {
spec_name: sp_runtime::create_runtime_str!("Darwinia2"),
impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"),
authoring_version: 0,
spec_version: 6_2_0_0,
spec_version: 6_2_1_0,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 0,
Expand Down
4 changes: 3 additions & 1 deletion runtime/darwinia/src/pallets/bridge_grandpa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ impl pallet_bridge_grandpa::Config<WithKusamaGrandpa> for Runtime {
type BridgedChain = bp_crab::DarwiniaLike;
type HeadersToKeep = KusamaHeadersToKeep;
type MaxBridgedAuthorities = ConstU32<100_000>;
type MaxBridgedHeaderSize = ConstU32<65536>;
// Kusama chain currently has 1000 validators.
// Double the default value `65536` here.
type MaxBridgedHeaderSize = ConstU32<131_072>;
type MaxRequests = ConstU32<50>;
type WeightInfo = weights::pallet_bridge_grandpa::WeightInfo<Self>;
}
2 changes: 1 addition & 1 deletion runtime/pangolin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion {
spec_name: sp_runtime::create_runtime_str!("Pangolin2"),
impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"),
authoring_version: 0,
spec_version: 6_2_0_0,
spec_version: 6_2_1_0,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 0,
Expand Down
2 changes: 1 addition & 1 deletion runtime/pangoro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion {
spec_name: sp_runtime::create_runtime_str!("Pangoro2"),
impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"),
authoring_version: 0,
spec_version: 6_2_0_0,
spec_version: 6_2_1_0,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 0,
Expand Down
2 changes: 1 addition & 1 deletion tool/state-processor/Cargo.lock

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

0 comments on commit 5ad9a8d

Please sign in to comment.