diff --git a/runtime/casper/Cargo.toml b/runtime/casper/Cargo.toml index 6b358c0..23eab53 100644 --- a/runtime/casper/Cargo.toml +++ b/runtime/casper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "casper-runtime" -version = "3.5.21" +version = "3.5.22" build = "build.rs" description = "Runtime of the Casper Network" edition.workspace = true diff --git a/runtime/casper/src/cult/mod.rs b/runtime/casper/src/cult/mod.rs index 4a3c291..539aa21 100644 --- a/runtime/casper/src/cult/mod.rs +++ b/runtime/casper/src/cult/mod.rs @@ -65,7 +65,7 @@ parameter_types! { pub type CultReferendaInstance = pallet_referenda::Instance1; impl pallet_referenda::Config for Runtime { - type WeightInfo = (); + type WeightInfo = weights::pallet_referenda::WeightInfo; type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; diff --git a/runtime/casper/src/lib.rs b/runtime/casper/src/lib.rs index 2aa996a..46de801 100644 --- a/runtime/casper/src/lib.rs +++ b/runtime/casper/src/lib.rs @@ -1097,7 +1097,7 @@ impl ghost_slow_clap::Config for Runtime { type OffenceThreshold = OffenceThreshold; type UnsignedPriority = SlowClapUnsignedPriority; - type WeightInfo = Default::default(); + type WeightInfo = weights::ghost_slow_clap::WeightInfo; } construct_runtime! { diff --git a/runtime/casper/src/weights/mod.rs b/runtime/casper/src/weights/mod.rs index ca0b701..b45cf35 100644 --- a/runtime/casper/src/weights/mod.rs +++ b/runtime/casper/src/weights/mod.rs @@ -17,7 +17,7 @@ pub mod pallet_nomination_pools; pub mod pallet_preimage; pub mod pallet_proxy; pub mod pallet_ranked_collective; -// pub mod pallet_referenda; +pub mod pallet_referenda; pub mod pallet_salary; pub mod pallet_scheduler; pub mod pallet_session;