Add Halmos support for formal verification (#5034)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
@ -6,7 +6,7 @@ import {Test} from "forge-std/Test.sol";
|
||||
import {Create2} from "@openzeppelin/contracts/utils/Create2.sol";
|
||||
|
||||
contract Create2Test is Test {
|
||||
function testComputeAddressSpillage(bytes32 salt, bytes32 bytecodeHash, address deployer) public {
|
||||
function testSymbolicComputeAddressSpillage(bytes32 salt, bytes32 bytecodeHash, address deployer) public {
|
||||
address predicted = Create2.computeAddress(salt, bytecodeHash, deployer);
|
||||
bytes32 spillage;
|
||||
/// @solidity memory-safe-assembly
|
||||
|
||||
Reference in New Issue
Block a user