@@ -576,7 +576,7 @@ pub mod pallet {
576576		} 
577577	} 
578578
579- 	#[ pallet:: call]  
579+ 	#[ pallet:: call( weight = < T   as   crate :: Config > :: WeightInfo ) ]  
580580	impl < T :  Config >  Pallet < T >  { 
581581		/// Propose a sensitive action to be taken. 
582582 		/// 
@@ -588,7 +588,6 @@ pub mod pallet {
588588 		/// 
589589 		/// Emits `Proposed`. 
590590 		#[ pallet:: call_index( 0 ) ]  
591- 		#[ pallet:: weight( T :: WeightInfo :: propose( ) ) ]  
592591		pub  fn  propose ( 
593592			origin :  OriginFor < T > , 
594593			proposal :  BoundedCallOf < T > , 
@@ -631,7 +630,6 @@ pub mod pallet {
631630 		/// 
632631 		/// - `proposal`: The index of the proposal to second. 
633632 		#[ pallet:: call_index( 1 ) ]  
634- 		#[ pallet:: weight( T :: WeightInfo :: second( ) ) ]  
635633		pub  fn  second ( 
636634			origin :  OriginFor < T > , 
637635			#[ pallet:: compact]   proposal :  PropIndex , 
@@ -699,7 +697,6 @@ pub mod pallet {
699697 		/// 
700698 		/// - `proposal_hash`: The preimage hash of the proposal. 
701699 		#[ pallet:: call_index( 4 ) ]  
702- 		#[ pallet:: weight( T :: WeightInfo :: external_propose( ) ) ]  
703700		pub  fn  external_propose ( 
704701			origin :  OriginFor < T > , 
705702			proposal :  BoundedCallOf < T > , 
@@ -728,7 +725,6 @@ pub mod pallet {
728725 		/// 
729726 		/// Weight: `O(1)` 
730727 		#[ pallet:: call_index( 5 ) ]  
731- 		#[ pallet:: weight( T :: WeightInfo :: external_propose_majority( ) ) ]  
732728		pub  fn  external_propose_majority ( 
733729			origin :  OriginFor < T > , 
734730			proposal :  BoundedCallOf < T > , 
@@ -750,7 +746,6 @@ pub mod pallet {
750746 		/// 
751747 		/// Weight: `O(1)` 
752748 		#[ pallet:: call_index( 6 ) ]  
753- 		#[ pallet:: weight( T :: WeightInfo :: external_propose_default( ) ) ]  
754749		pub  fn  external_propose_default ( 
755750			origin :  OriginFor < T > , 
756751			proposal :  BoundedCallOf < T > , 
@@ -777,7 +772,6 @@ pub mod pallet {
777772 		/// 
778773 		/// Weight: `O(1)` 
779774 		#[ pallet:: call_index( 7 ) ]  
780- 		#[ pallet:: weight( T :: WeightInfo :: fast_track( ) ) ]  
781775		pub  fn  fast_track ( 
782776			origin :  OriginFor < T > , 
783777			proposal_hash :  H256 , 
@@ -831,7 +825,6 @@ pub mod pallet {
831825 		/// 
832826 		/// Weight: `O(V + log(V))` where V is number of `existing vetoers` 
833827 		#[ pallet:: call_index( 8 ) ]  
834- 		#[ pallet:: weight( T :: WeightInfo :: veto_external( ) ) ]  
835828		pub  fn  veto_external ( origin :  OriginFor < T > ,  proposal_hash :  H256 )  -> DispatchResult  { 
836829			let  who = T :: VetoOrigin :: ensure_origin ( origin) ?; 
837830
@@ -867,7 +860,6 @@ pub mod pallet {
867860 		/// 
868861 		/// # Weight: `O(1)`. 
869862 		#[ pallet:: call_index( 9 ) ]  
870- 		#[ pallet:: weight( T :: WeightInfo :: cancel_referendum( ) ) ]  
871863		pub  fn  cancel_referendum ( 
872864			origin :  OriginFor < T > , 
873865			#[ pallet:: compact]   ref_index :  ReferendumIndex , 
@@ -942,7 +934,6 @@ pub mod pallet {
942934 		/// 
943935 		/// Weight: `O(1)`. 
944936 		#[ pallet:: call_index( 12 ) ]  
945- 		#[ pallet:: weight( T :: WeightInfo :: clear_public_proposals( ) ) ]  
946937		pub  fn  clear_public_proposals ( origin :  OriginFor < T > )  -> DispatchResult  { 
947938			ensure_root ( origin) ?; 
948939			<PublicProps < T > >:: kill ( ) ; 
@@ -1096,7 +1087,6 @@ pub mod pallet {
10961087 		/// 
10971088 		/// Weight: `O(p)` where `p = PublicProps::<T>::decode_len()` 
10981089 		#[ pallet:: call_index( 17 ) ]  
1099- 		#[ pallet:: weight( T :: WeightInfo :: cancel_proposal( ) ) ]  
11001090		pub  fn  cancel_proposal ( 
11011091			origin :  OriginFor < T > , 
11021092			#[ pallet:: compact]   prop_index :  PropIndex , 
0 commit comments