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
Follow up of #4072 for adding remaining expect*Call cheatcodes
expect*Call cheatcodes: similar to expectEmit, these let us specify the expected call with its callee and calldata. We use these less frequently, but I think they can be useful even for fuzzing tests.
expectRegularCall: Expect a call using the CALL opcode and specified parameters
expectStaticCall: Expect a call using the STATICCALL opcode and specified parameters
expectDelegateCall: Expect a call using the DELEGATECALL opcode and specified parameters
expectNoCall: Expect no calls to be made after this cheat code
expectCreate: Expects the deployment of the specified bytecode by the specified address using the CREATE opcode
expectCreate2: Expects the deployment of the specified bytecode by the specified address using the CREATE2 opcode
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
Forge
Describe the feature you would like
Follow up of #4072 for adding remaining
expect*Call
cheatcodesexpect*Call
cheatcodes: similar to expectEmit, these let us specify the expected call with its callee and calldata. We use these less frequently, but I think they can be useful even for fuzzing tests.expectRegularCall
: Expect a call using theCALL
opcode and specified parametersexpectStaticCall
: Expect a call using theSTATICCALL
opcode and specified parametersexpectDelegateCall
: Expect a call using theDELEGATECALL
opcode and specified parametersexpectNoCall
: Expect no calls to be made after this cheat codeexpectCreate
: Expects the deployment of the specified bytecode by the specified address using theCREATE
opcodeexpectCreate2
: Expects the deployment of the specified bytecode by the specified address using theCREATE2
opcodeAdditional context
No response
The text was updated successfully, but these errors were encountered: