mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 03:09:56 +00:00
update casper runtime with pre-calculated weights
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
@@ -65,7 +65,7 @@ parameter_types! {
|
||||
|
||||
pub type CultReferendaInstance = pallet_referenda::Instance1;
|
||||
impl pallet_referenda::Config<CultReferendaInstance> for Runtime {
|
||||
type WeightInfo = ();
|
||||
type WeightInfo = weights::pallet_referenda::WeightInfo<Runtime>;
|
||||
type RuntimeCall = RuntimeCall;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Scheduler = Scheduler;
|
||||
|
||||
@@ -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<Runtime>;
|
||||
}
|
||||
|
||||
construct_runtime! {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user