casper runtime upgrade

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-11-09 16:09:56 +03:00
parent 275567ef79
commit 75268b4c0a
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
3 changed files with 8 additions and 7 deletions

4
Cargo.lock generated
View File

@ -1186,7 +1186,7 @@ dependencies = [
[[package]] [[package]]
name = "casper-runtime" name = "casper-runtime"
version = "3.5.33" version = "3.5.34"
dependencies = [ dependencies = [
"casper-runtime-constants", "casper-runtime-constants",
"frame-benchmarking", "frame-benchmarking",
@ -3836,7 +3836,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-slow-clap" name = "ghost-slow-clap"
version = "0.3.47" version = "0.3.51"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime" name = "casper-runtime"
version = "3.5.33" version = "3.5.34"
build = "build.rs" build = "build.rs"
description = "Runtime of the Casper Network" description = "Runtime of the Casper Network"
edition.workspace = true edition.workspace = true

View File

@ -117,8 +117,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("casper"), spec_name: create_runtime_str!("casper"),
impl_name: create_runtime_str!("casper-svengali"), impl_name: create_runtime_str!("casper-svengali"),
authoring_version: 0, authoring_version: 0,
spec_version: 3, spec_version: 4,
impl_version: 1, impl_version: 2,
apis: RUNTIME_API_VERSIONS, apis: RUNTIME_API_VERSIONS,
transaction_version: 1, transaction_version: 1,
state_version: 1, state_version: 1,
@ -1059,9 +1059,9 @@ impl ghost_claims::Config<CultCollectiveInstance> for Runtime {
parameter_types! { parameter_types! {
// will be used in `Perbill::from_percent()` // will be used in `Perbill::from_percent()`
pub const ApplauseThreshold: u32 = 70; pub const ApplauseThreshold: u32 = 66;
// will be used in `Perbill::from_percent()` // will be used in `Perbill::from_percent()`
pub const OffenceThreshold: u32 = 40; pub const OffenceThreshold: u32 = 5;
pub const SlowClapUnsignedPriority: TransactionPriority = TransactionPriority::MAX; pub const SlowClapUnsignedPriority: TransactionPriority = TransactionPriority::MAX;
pub const SlowClapHistoryDepth: sp_staking::SessionIndex = pub const SlowClapHistoryDepth: sp_staking::SessionIndex =
StakingHistoryDepth::get() * SessionsPerEra::get(); StakingHistoryDepth::get() * SessionsPerEra::get();
@ -1077,6 +1077,7 @@ impl ghost_slow_clap::Config for Runtime {
type NetworkDataHandler = GhostNetworks; type NetworkDataHandler = GhostNetworks;
type BlockNumberProvider = System; type BlockNumberProvider = System;
type ReportUnresponsiveness = Offences; type ReportUnresponsiveness = Offences;
type DisabledValidators = Session;
type MaxAuthorities = MaxAuthorities; type MaxAuthorities = MaxAuthorities;
type ApplauseThreshold = ApplauseThreshold; type ApplauseThreshold = ApplauseThreshold;