@@ -835,7 +835,7 @@ pub mod pallet {
835
835
}
836
836
837
837
#[ pallet:: call_index( 35 ) ]
838
- #[ pallet:: weight( Weight :: from_parts ( 100_000 , 10_000 ) ) ]
838
+ #[ pallet:: weight( WeightInfoOf :: < T > :: remove_project ( ) ) ]
839
839
pub fn remove_project ( origin : OriginFor < T > , jwt : UntrustedToken , project_id : ProjectId ) -> DispatchResult {
840
840
let ( account, did, investor_type, _cid) =
841
841
T :: InvestorOrigin :: ensure_origin ( origin, & jwt, T :: VerifierPublicKey :: get ( ) ) ?;
@@ -1015,7 +1015,7 @@ pub mod pallet {
1015
1015
}
1016
1016
1017
1017
#[ pallet:: call_index( 9 ) ]
1018
- #[ pallet:: weight( Weight :: from_parts ( 0 , 0 ) ) ]
1018
+ #[ pallet:: weight( WeightInfoOf :: < T > :: settle_successful_evaluation ( ) ) ]
1019
1019
pub fn settle_successful_evaluation (
1020
1020
origin : OriginFor < T > ,
1021
1021
project_id : ProjectId ,
@@ -1029,7 +1029,7 @@ pub mod pallet {
1029
1029
}
1030
1030
1031
1031
#[ pallet:: call_index( 10 ) ]
1032
- #[ pallet:: weight( Weight :: from_parts ( 0 , 0 ) ) ]
1032
+ #[ pallet:: weight( WeightInfoOf :: < T > :: settle_successful_bid ( ) ) ]
1033
1033
pub fn settle_successful_bid (
1034
1034
origin : OriginFor < T > ,
1035
1035
project_id : ProjectId ,
@@ -1042,7 +1042,7 @@ pub mod pallet {
1042
1042
}
1043
1043
1044
1044
#[ pallet:: call_index( 11 ) ]
1045
- #[ pallet:: weight( Weight :: from_parts ( 0 , 0 ) ) ]
1045
+ #[ pallet:: weight( WeightInfoOf :: < T > :: settle_successful_contribution ( ) ) ]
1046
1046
pub fn settle_successful_contribution (
1047
1047
origin : OriginFor < T > ,
1048
1048
project_id : ProjectId ,
@@ -1056,7 +1056,7 @@ pub mod pallet {
1056
1056
}
1057
1057
1058
1058
#[ pallet:: call_index( 12 ) ]
1059
- #[ pallet:: weight( Weight :: from_parts ( 0 , 0 ) ) ]
1059
+ #[ pallet:: weight( WeightInfoOf :: < T > :: settle_failed_evaluation ( ) ) ]
1060
1060
pub fn settle_failed_evaluation (
1061
1061
origin : OriginFor < T > ,
1062
1062
project_id : ProjectId ,
@@ -1070,7 +1070,7 @@ pub mod pallet {
1070
1070
}
1071
1071
1072
1072
#[ pallet:: call_index( 13 ) ]
1073
- #[ pallet:: weight( Weight :: from_parts ( 0 , 0 ) ) ]
1073
+ #[ pallet:: weight( WeightInfoOf :: < T > :: settle_failed_bid ( ) ) ]
1074
1074
pub fn settle_failed_bid (
1075
1075
origin : OriginFor < T > ,
1076
1076
project_id : ProjectId ,
@@ -1083,7 +1083,7 @@ pub mod pallet {
1083
1083
}
1084
1084
1085
1085
#[ pallet:: call_index( 14 ) ]
1086
- #[ pallet:: weight( Weight :: from_parts ( 0 , 0 ) ) ]
1086
+ #[ pallet:: weight( WeightInfoOf :: < T > :: settle_failed_contribution ( ) ) ]
1087
1087
pub fn settle_failed_contribution (
1088
1088
origin : OriginFor < T > ,
1089
1089
project_id : ProjectId ,
0 commit comments