All Questions
1 question
2
votes
1
answer
944
views
Is the modulo operation cheaper in unchecked arithmetic?
The docs on Solidity v0.8.0 Breaking Changes mention that overflows are now checked by default:
Arithmetic operations revert on underflow and overflow. You can use unchecked { ... } to use the ...