We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now you are using solidity 0.8 you can remove SafeMath .
https://github.com/code-423n4/2022-02-concur/blob/72b5216bfeaa7c52983060ebfc56e72e0aa8e3b0/contracts/MasterChef.sol#L119-L121
The following is important I believe as you mention massUpdatePools() consumes lot of gas
massUpdatePools()
https://github.com/code-423n4/2022-02-concur/blob/72b5216bfeaa7c52983060ebfc56e72e0aa8e3b0/contracts/MasterChef.sol#L151-L152
The text was updated successfully, but these errors were encountered:
peritoflores issue #228
08e230d
6 * 20 = 120 gas saved
Sorry, something went wrong.
No branches or pull requests
Remove SafeMath from most gas consuming functions
Now you are using solidity 0.8 you can remove SafeMath .
https://github.com/code-423n4/2022-02-concur/blob/72b5216bfeaa7c52983060ebfc56e72e0aa8e3b0/contracts/MasterChef.sol#L119-L121
The following is important I believe as you mention
massUpdatePools()
consumes lot of gashttps://github.com/code-423n4/2022-02-concur/blob/72b5216bfeaa7c52983060ebfc56e72e0aa8e3b0/contracts/MasterChef.sol#L151-L152
The text was updated successfully, but these errors were encountered: