Skip to content
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

sec: implement security enhancements #251

Merged
merged 1 commit into from
Mar 16, 2023
Merged

sec: implement security enhancements #251

merged 1 commit into from
Mar 16, 2023

Conversation

yutianwu
Copy link
Contributor

@yutianwu yutianwu commented Mar 13, 2023

This pr implements some security enhancements:

  • replace i++ or i-- with ++i and --i to save gas
  • add check for maintainSlashScale
  • delete token decimals when unbinding token

@yutianwu yutianwu force-pushed the fix_sec branch 2 times, most recently from aff3710 to ff53f62 Compare March 13, 2023 08:45
@unclezoro
Copy link
Collaborator

delete token decimals when unbinding token is this included?

@unclezoro unclezoro merged commit 5134a57 into master Mar 16, 2023
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.

4 participants