You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One other things to consider is that the signed version of randomInt has to be treated differently from freshInt — the latter is defined in kontrol-cheatcodes, but defining it there would introduce conflicts with forge-std.
The text was updated successfully, but these errors were encountered:
We should support
random*
cheatcodes added as a fuzzing counterpart tofresh*
ones to Foundry: https://github.com/foundry-rs/forge-std/blob/da591f56d8884c5824c0c1b3103fbcfd81123c4c/src/Vm.sol#L1729 in this PR.One difference we need to address is the fact that
takes
uint256
bits, notuint8 bytes
, as Kontrol does withfreshUint
.We'd also need to add
It would also require an update in kontrol-cheatcodes.
One other things to consider is that the signed version of
randomInt
has to be treated differently fromfreshInt
— the latter is defined inkontrol-cheatcodes
, but defining it there would introduce conflicts withforge-std
.The text was updated successfully, but these errors were encountered: