Open aviggiano opened 1 week ago
thanks for reporting. in the meantime while we're improving this, you can use the following trick:
function check_...(..., bytes4 selector, ...) {
data = svm.createCalldata(...);
vm.assume(selector == bytes4(data));
...
}
this way, you'll see the selector in counterexamples.
Describe the bug
When using
createCalldata
, only the function arguments are shownTo Reproduce
Environment:
Additional context
Logs:
Note: this is a minor issue, since
console.log
helps with debugging