feat(cheatcodes
): disable usage of expectRevert
with other expect*
cheatcodes
#5138
Labels
cheatcodes
): disable usage of expectRevert
with other expect*
cheatcodes
#5138
When something reverts, the whole transaction unwinds and it's like nothing happened. However,
expectCall
s andexpectEmit
s are still matched. We should not allow this to happen, but rather error if we have both arevert
and anotherexpect
cheatcode being used together at the same time, for the next call.The text was updated successfully, but these errors were encountered: