update casper runtime with pre-calculated weights

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-06-17 20:46:39 +03:00
parent f28e57cf8e
commit 7107283121
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime" name = "casper-runtime"
version = "3.5.21" version = "3.5.22"
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

@ -65,7 +65,7 @@ parameter_types! {
pub type CultReferendaInstance = pallet_referenda::Instance1; pub type CultReferendaInstance = pallet_referenda::Instance1;
impl pallet_referenda::Config<CultReferendaInstance> for Runtime { impl pallet_referenda::Config<CultReferendaInstance> for Runtime {
type WeightInfo = (); type WeightInfo = weights::pallet_referenda::WeightInfo<Runtime>;
type RuntimeCall = RuntimeCall; type RuntimeCall = RuntimeCall;
type RuntimeEvent = RuntimeEvent; type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler; type Scheduler = Scheduler;

View File

@ -1097,7 +1097,7 @@ impl ghost_slow_clap::Config for Runtime {
type OffenceThreshold = OffenceThreshold; type OffenceThreshold = OffenceThreshold;
type UnsignedPriority = SlowClapUnsignedPriority; type UnsignedPriority = SlowClapUnsignedPriority;
type WeightInfo = Default::default(); type WeightInfo = weights::ghost_slow_clap::WeightInfo<Runtime>;
} }
construct_runtime! { construct_runtime! {

View File

@ -17,7 +17,7 @@ pub mod pallet_nomination_pools;
pub mod pallet_preimage; pub mod pallet_preimage;
pub mod pallet_proxy; pub mod pallet_proxy;
pub mod pallet_ranked_collective; pub mod pallet_ranked_collective;
// pub mod pallet_referenda; pub mod pallet_referenda;
pub mod pallet_salary; pub mod pallet_salary;
pub mod pallet_scheduler; pub mod pallet_scheduler;
pub mod pallet_session; pub mod pallet_session;