Skip to content

add overflow checks to update_reward#568

Open
hakymulla wants to merge 2 commits into
Gatheraa:mainfrom
hakymulla:reward_calculation_overflow_check
Open

add overflow checks to update_reward#568
hakymulla wants to merge 2 commits into
Gatheraa:mainfrom
hakymulla:reward_calculation_overflow_check

Conversation

@hakymulla

Copy link
Copy Markdown

closes #511

Copy link
Copy Markdown
Contributor

Nice overflow-guards @hakymulla, solid defensive work ✅ Merging!

Copy link
Copy Markdown
Contributor

@hakymulla — quick follow-up: real merge conflicts against main now. Please rebase onto main and ping me — I'll merge right away on the next push. 🙏

@hakymulla

Copy link
Copy Markdown
Author

@Xhristin3 , it's ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[contract][security] reward calculation may overflow i128

2 participants