VmEx
Inherits: Vm
Title: VmEx
Extended Vm interface with assertion testing capabilities
Extends the standard Forge Vm interface with Credible Layer specific cheatcodes
Functions
assertion
Register an assertion for testing
function assertion(address adopter, bytes calldata createData, bytes4 fnSelector) external;
Parameters
| Name | Type | Description |
|---|---|---|
adopter | address | The address of the contract that adopts the assertion |
createData | bytes | The creation bytecode of the assertion contract |
fnSelector | bytes4 | The function selector of the assertion function to test |