Skip to content

Latest commit

 

History

History
66 lines (60 loc) · 5.35 KB

SUPPORTED_CHEATCODES.md

File metadata and controls

66 lines (60 loc) · 5.35 KB

🔧 Supported Cheatcodes for Foundry-zksync 🔧

⚠️ WORK IN PROGRESS: This list is non-comprehensive and being updated. If there is an cheatcode that requires additional support, please start by creating a GitHub Issue.

Key

The status options are:

  • SUPPORTED - Basic support is completed
  • NOT IMPLEMENTED - Currently not supported/implemented

Supported Cheatcodes Table

Cheatcode Status Link
vm.setNonce SUPPORTED Link
vm.getNonce SUPPORTED Link
vm.deal SUPPORTED Link
vm.etch SUPPORTED Link
vm.warp(u256) SUPPORTED Link
vm.roll SUPPORTED Link
vm.startPrank SUPPORTED Link
vm.stopPrank SUPPORTED Link
vm.addr SUPPORTED Link
vm.toString SUPPORTED Link
vm.readCallers SUPPORTED Link
vm.expectRevert SUPPORTED Link
vm.recordLogs SUPPORTED Link
vm.getRecordedLogs SUPPORTED Link
vm.snapshot SUPPORTED Link
vm.revertTo SUPPORTED Link
vm.expectEmit SUPPORTED Link
vm.expectCall SUPPORTED Link
vm.createFork SUPPORTED Link
vm.selectFork SUPPORTED Link
vm.createSelectFork SUPPORTED Link
vm.rpcUrl SUPPORTED Link
vm.activeFork SUPPORTED Link
vm.writeFile SUPPORTED Link
vm.writeJson SUPPORTED Link
vm.serializeUint SUPPORTED Link
vm.serializeAddress SUPPORTED Link
vm.serializeBool SUPPORTED Link
vm.store SUPPORTED Link
vm.load SUPPORTED Link
vm.ffi SUPPORTED Link
vm.tryFfi SUPPORTED Link
vm.startBroadcast SUPPORTED Link
vm.stopBroadcast SUPPORTED Link
vm.sign SUPPORTED Link
vm.setEnv SUPPORTED Link
vm.transact SUPPORTED Link
vm.makePersistance SUPPORTED Link
vm.revokePersistance SUPPORTED Link
vm.isPersistent SUPPORTED Link
vm.rollFork SUPPORTED Link
vm.assume SUPPORTED Link
vm.mockCall SUPPORTED Link
vm.clearMockedCall SUPPORTED Link
vm.envUint SUPPORTED Link
vm.envBool SUPPORTED Link
vm.envInt SUPPORTED Link
vm.envAddress SUPPORTED Link
vm.envBytes32 SUPPORTED Link
vm.envString SUPPORTED Link
vm.envBytes SUPPORTED Link