# evolution.conf — configuration for evolution-daemon.sh
#
# All parameters here override the defaults in evolve.sh.
# Set BASE_RPC_URL to a Base network RPC endpoint before starting the daemon.

# ── Fitness backend ─────────────────────────────────────────────────────────────
EVAL_MODE=revm

# Base network RPC endpoint (required for EVAL_MODE=revm).
# Export in your shell or set here (do NOT commit credentials).
# BASE_RPC_URL=https://mainnet.base.org

# ── Population & selection ──────────────────────────────────────────────────────
POPULATION=20
GENERATIONS=30
MUTATION_RATE=1
ELITES=2
DIVERSE_SEEDS=true

# ── Evolution-specific overrides — DOCUMENTATION ONLY ──────────────────────────
# These two variables are NOT read by evolution-daemon.sh at runtime.
# They document the semantic intent of evolution.patch, which is the actual
# mechanism that changes the compiled Solidity constants before each run.
# Editing these values here has NO runtime effect; to change the overrides,
# regenerate evolution.patch (see the patch file for instructions).
#
# GAS_LIMIT=500000         (patch raises CALCULATE_PARAMS_GAS_LIMIT 200k→500k)
# ANCHOR_WIDTH_UNBOUNDED=true  (patch sets MAX_ANCHOR_WIDTH to type(uint24).max)

# ── Notification (openclaw) ─────────────────────────────────────────────────────
# SSH target for `openclaw system event` notifications.
# Leave empty to disable notifications.
OPENCLAW_SSH_TARGET=

# ── Seed ────────────────────────────────────────────────────────────────────────
# Path to the primary seed file, relative to the repo root.
SEED=tools/push3-evolution/seeds/optimizer_v3.push3
