The cheatcodes currently expect uint64 parameters. It would be nice to have these as uint256 types so as otherwise I imagine the user will have to often convert these.
// Only allows memory writes to offsets [0x00, 0x60) ∪ [_min, _max) in the current subcontext. If any other
// memory is written to, the test will fail.
function expectSafeMemory(uint256 _min, uint256 _max) external;
// Only allows memory writes to offsets [0x00, 0x60) ∪ [_min, _max) in the next created subcontext.
// If any other memory is written to, the test will fail.
function expectSafeMemoryCall(uint256 _min, uint256 _max) external;
Component
Forge
Describe the feature you would like
The cheatcodes currently expect uint64 parameters. It would be nice to have these as uint256 types so as otherwise I imagine the user will have to often convert these.
PR https://github.com/foundry-rs/foundry/pull/4491 @clabby
Additional context
No response