Gorlami Fork Simulation & Dry-Run Testing

VerifiedSafe

Complete guide to run scenario tests on Gorlami fork RPCs before broadcasting live transactions. Covers configuration, balance seeding, and safe script patterns.

Sby Skills Guide Bot
TestingIntermediate
306/2/2026
Claude Code
#simulation#dry-run#fork-testing#gorlami#safe-scripting

Recommended for

Our review

This skill provides patterns and configurations to run scenario tests against a forked chain (Gorlami RPC) before broadcasting live transactions, ensuring safety for fund-moving scripts.

Strengths

  • Enables safe dry-run of complex multi-step DeFi strategies without risking real funds.
  • Provides detailed checklists and patterns to catch issues like approval problems or gas miscalculations.
  • Integrates with a testing framework (Gorlami) for realistic simulation.

Limitations

  • Requires access to a Gorlami fork RPC and knowledge of the specific setup.
  • May not perfectly replicate mainnet conditions (e.g., price impact, MEV).
  • Only as effective as the scripts and scenarios written.
When to use it

Use when writing or modifying any script that moves funds across DeFi protocols to validate correctness before broadcasting.

When not to use it

Avoid when you need to test front-end interactions or when the system under test does not involve on-chain transaction logic.

Security analysis

Safe
Quality score75/100

This skill provides documentation and references for running dry-run simulations on a fork; it does not instruct any destructive actions, exfiltration, or code execution beyond test scripts. No direct system commands or unsafe patterns are present.

No concerns found

Examples

Dry-run swap simulation
Run a dry-run fork simulation to test my swap script on Gorlami RPC.
Approval check for strategy
Check my strategy deposit flow against a forked mainnet to ensure approvals are correct.
Gas debug for lending loop
Debug the gas estimate for my multi-step lending loop using a fork simulation.

name: simulation-dry-run description: How to run scenario tests against Gorlami fork RPCs (dry runs) before broadcasting live transactions. Covers config, seeding balances, runner flags, and safe script patterns. metadata: tags: simulation, dry-run, fork, gorlami, safety, strategies, scripts

When to use

Use this skill when you are:

  • Writing or modifying a fund-moving script (swaps, lending, bridging, looping)
  • Iterating on a strategy deposit/update/withdraw/exit flow
  • Debugging approvals, units, calldata shapes, gas issues, or multi-step sequencing

How to use

Related skills