There was a bug in padded_len_word and padded_len_usize functions that would overflow on inputs close to max value of the type. While inputs around the max value were never sensible, at least the LDC opcode could be used to trigger the overflow.
Checklist
[x] Breaking changes are clearly marked as such in the PR description and changelog
There was a bug in
padded_len_word
andpadded_len_usize
functions that would overflow on inputs close to max value of the type. While inputs around the max value were never sensible, at least the LDC opcode could be used to trigger the overflow.Checklist
Before requesting review