Skip to content

fix: prevent division by zero in remaining GasAccounting calls#522

Open
huahuayu wants to merge 3 commits intoFastLane-Labs:mainfrom
huahuayu:fix/more-zero-gasprice-reverts
Open

fix: prevent division by zero in remaining GasAccounting calls#522
huahuayu wants to merge 3 commits intoFastLane-Labs:mainfrom
huahuayu:fix/more-zero-gasprice-reverts

Conversation

@huahuayu
Copy link

This PR is a follow-up to PR #520. It adds zero-check for in the remaining division calls within to prevent potential reverts on chains or environments where can be 0.

Changes:

  • Added check in .

Fixes a potential division by zero edge case.

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

Comments