-
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
_avatarV1CirclesStatus do return lastTouched time even if Circles contract get stopped #112
Comments
@benjaminbollen can you leave a comment, why it is invalid? |
Hey @benjaminbollen since according to comment it mentioned in case token not exist it should return 0 but it do not,
|
@benjaminbollen can you reply please?? and check again! |
the comment explicitly says "returns zero for lastTouched if the v1 token DOES NOT EXIST, but return lastTouch in all other cases", which is what it does. I do not know what to comment on your issue. Maybe re-read the comment yourself? |
for clarity, your issue itself does not compute to something sensible. So yes, it is invalid |
maybe it helps for you to clarify that a "stopped token" does not remove the v1 token. It keeps existing, and the lastTouched time is still valuable information |
Github username: --
Twitter username: --
Submission hash (on-chain): 0xd804576013ecdf0aec67ad9966aef4660d7808b4795dab9cdb1ddf1eab64edb7
Severity: high
Description:
Description
_avatarV1CirclesStatus is responsible for checking the status of circle contract in case if circle contract do not stop it return the circlev1 contract if it exist and the last update time, but when circle contract egt stopped and not exist even in that case the function return last update time with CIRCLES_STOPPED_V1 as address parameter.
which shouldn't be the case, at this point it should zero as lastTouched as the comment also mention this,
Their in case of CIRCLES_STOPPED_V1 it returns lastUpdated time, which could result in wrong checked passed under registerhuman function.
This should return 0 instead of lastTouched.
The text was updated successfully, but these errors were encountered: