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

C: QA & gas optimizations #6

Merged
merged 13 commits into from
Apr 5, 2022
Merged

C: QA & gas optimizations #6

merged 13 commits into from
Apr 5, 2022

Conversation

Kogaroshi
Copy link
Contributor

All commits concerning QA & gas optimization tips from the C4 contest

Currently:

  • removing useless function
  • remove useless variable default values
  • change reward states storage layout

@Kogaroshi
Copy link
Contributor Author

Replaced revert strings by Custom Errors in hPAL contracts
(to do: fix Fuzz tests)

@Kogaroshi
Copy link
Contributor Author

Stop accruing rewards to user when in emergency mode: simply return before accruing any rewards.

@Kogaroshi Kogaroshi merged commit 50abc7b into main Apr 5, 2022
@Kogaroshi Kogaroshi deleted the c4-qa-gas-opti branch April 5, 2022 14:20
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.

1 participant