-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analysis #143
Comments
0xRobocop marked the issue as sufficient quality report |
OpenCoreCH marked the issue as grade-a |
OpenCoreCH marked the issue as selected for report |
Hi @OpenCoreCH
which is applied to all the protocols in the ecosystem , there a lot of examples of this is the report such as
and some of the risks are not true such as this , so the balance BalanceUpdate uses checked math of the arithmetic operation
the function impl<Balance: Into<<FixedU128 as FixedPointNumber>::Inner> + CheckedAdd + CheckedSub + Copy + Default> Add<Balance>
for BalanceUpdate<Balance>
{
type Output = Option<Balance>;
fn add(self, rhs: Balance) -> Self::Output {
match &self {
BalanceUpdate::Increase(amount) => rhs.checked_add(amount),
BalanceUpdate::Decrease(amount) => rhs.checked_sub(amount),
}
}
} the report has also this generic in the technical risks
I need also to mention that the warden only submit an analysis without finding any high , medium , or QA issues , which indicates that the risks mentioned in the report are just generics which can be applied on all the protocol of this type . |
Hi everyone, |
While the report contains some generic recommendations and errors (like most other reports), there are various good recommendations (many of which have been reported as separate issues), for instance checking the convergence of Newton's method, centralization issues because of the amplification parameter changes, valid improvement suggestions, and good attack ideas. |
See the markdown file with the details of this report here.
The text was updated successfully, but these errors were encountered: