-
Notifications
You must be signed in to change notification settings - Fork 87
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
[CONTRACT] feat: Restrict set_daily_word
to One Call Per Day & Update end_of_day_timestamp
#235
Comments
Hi @manlikeHB , its Anushka here. |
Hi, |
Hey! I'd love to take this on. I'll ensure set_daily_word is restricted to once per day while automatically updating end_of_day_timestamp. I'll also cover it with unit tests for reliability. Assigning this to me! |
Hi, please can I be assigned this please? I would love to be the given the opportunity to solve this issue please. I have experience in html, css, JavaScript, TypeScript cairo and Rust. I’m ready to work, kindly assign. |
Is it okay if I take this? ETA: 12 HOURS |
Description
Currently,
set_daily_word
can be called multiple times per day, which could lead to inconsistencies. To prevent unintended overwrites, we need to ensure that the function can only be called once per day. Additionally, when setting a new word, theend_of_day_timestamp
should automatically update to reflect the next day’s reset time.Acceptance Criteria
set_daily_word
cannot be called more than once per day.end_of_day_timestamp
updates automatically upon setting a new word.The text was updated successfully, but these errors were encountered: