Open zlsecure3 opened 1 year ago
submission_id:1762158484
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:1762158484
review_type:CLIENT_FEEDBACK
result: TBD-yes,no
severity: TBD-Critical,Medium,Low,Informational
comment:
submission_id:1762158484
review_type:CLIENT_FEEDBACK_DECISION
result: TBD-yes,no,yes-honored,no-honored
severity: TBD-Critical,Medium,Low,Informational
comment:
subject
MAX_VALID_FEE_RATE
should be10000
inTierConfig::setFeeRate()
functiondescription
Since
10000
means100%
, it doesn't make sense to allow higher than that.recommendation
Change
uint256 constant MAX_VALID_FEE_RATE = 16383;
touint256 constant MAX_VALID_FEE_RATE = 10000;
locations
severity
Informational
damage
exploitability
category
Integer Overflow and Underflow
system_generated: auditor:alansh submission_id:1762158484