Sitelet https://hardhat.org/docs/reference/cheatcodes/assertions/expect-create2
Skip to content

expectCreate2

function expectCreate2(bytes calldata bytecode, address deployer) external;

Expects the deployment of the specified bytecode by the specified address using the CREATE2 opcode