@evmcrispr/module-sim
v0.11.0
Published
Simulation module: fork chains and execute commands in a sandboxed environment using Anvil, Hardhat, Tenderly, EthereumJS or Revm (WASM) backends. Forks are multichain: `switch` moves between one fork per chain, and bridge transfers are auto-relayed to th
Readme
sim module
Simulation module: fork chains and execute commands in a sandboxed environment using Anvil, Hardhat, Tenderly, EthereumJS or Revm (WASM) backends. Forks are multichain: switch moves between one fork per chain, and bridge transfers are auto-relayed to the destination fork.
load simCommands
| Command | Description | |---------|-------------| | sim:expect | Assert that a condition is true. | | sim:fork | Fork the blockchain and execute commands in a simulation. | | sim:set-balance | Set the ETH balance of an account in a fork simulation. | | sim:set-code | Set the bytecode at an address in a fork simulation. | | sim:set-storage-at | Set a storage slot value at an address in a fork simulation. |
