fork-testing
CommunityTest against live protocol state using forks.
Authorccashwell
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Fork testing lets you run your tests against a snapshot of a live blockchain state, enabling realistic validation of contracts and interactions without deploying mocks.
Core Features & Use Cases
- Pin forks to a specific mainnet or L2 state using vm.createFork or vm.createSelectFork and reproducible blocks.
- Impersonate accounts, deal tokens, and simulate DeFi integration flows in a controlled environment.
- Validate cross-fork scenarios with multi-fork tests and RPC configuration for reliable state replication.
Quick Start
Run Foundry tests in a forked mainnet environment by configuring forge to use an ETH RPC URL and a target block to reproduce live-state conditions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fork-testing Download link: https://github.com/ccashwell/evm-cortex/archive/main.zip#fork-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.