Open zlsecure3 opened 1 year ago
submission_id:1475606646
review_type:GRADING
result: TBD-yes,no
rating: TBD-123
comment: TBD-Rejected,Accepted by Secure3.
severity: TBD-Critical,Medium,Low,Informational
category:
description:
submission_id:1475606646
review_type:CLIENT_FEEDBACK
result: TBD-yes,no
severity: TBD-Critical,Medium,Low,Informational
comment:
submission_id:1475606646
review_type:CLIENT_FEEDBACK_DECISION
result: TBD-yes,no,yes-honored,no-honored
severity: TBD-Critical,Medium,Low,Informational
comment:
subject
Gas Optimization in
StarNameService
contractcreate_name_script
functiondescription
Redundant code assert!(table::contains(&name_service_extension.gradient_fee_in_domainname, domain_name), GRADIENT_FEE_NOT_EXIST); let fee_vector = table::borrow(&name_service_extension.gradient_fee_in_domainname, domain_name);
recommendation
Put these two pieces of code before the if judgment
locations
severity
Informational
damage
exploitability
category
Gas Optimization
system_generated: auditor:yekong submission_id:1475606646