update casper runtime with pre-calculated weights
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
		
							parent
							
								
									f28e57cf8e
								
							
						
					
					
						commit
						7107283121
					
				| @ -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 | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user