risechain / pevm

Blazingly fast Parallel EVM
MIT License
236 stars 47 forks source link

feat:prevent overflow and underflow #370

Closed varun-doshi closed 1 month ago

varun-doshi commented 2 months ago

Closes https://github.com/risechain/pevm/issues/311

Replaced general addition and subtraction with saturating_add() and saturating_sub() to most places as required