Skip to content

Anvil Fails - Block Time Cannot Be 0 #4

@Schereo

Description

@Schereo

2025-04-18 13:21:51.029 [warning] [server stderr] Anvil error: Command failed: /Users/USER/.foundry/bin/anvil --port 8545 --block-time 0 --accounts 10
2025-04-18 13:21:51.029 [warning] [server stderr] error: invalid value '0' for '--block-time ': Duration must be greater than 0

blockTime: z.number().optional().describe("Block time in seconds (default: 0 - mine on demand)"),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions