Foundry nightly adds Forge script error codes and fixes Cast signer checks

Foundry’s nightly build, published on November 27, 2026, at 15:11:24 (UTC+08:00), bumps the project version to 1.10.2. It changes how Forge reports script failures, fixes two Cast workflows and lets Anvil users filter traces by block hash.

Forge: identify script failures in JSON output

Forge now includes error codes in the --json response for script failures (#18696). When Forge refuses to run a script with --no-compile, look for compiler.stale in that response (#18762). Both changes came from @stevencartavia.

A related fix from @mablr adds codes for more RPC failures in the same JSON format (#18707). A separate fix from @mablr funds the deployed script contract when the script uses the default sender (#18757).

Cast and Anvil: signer checks, call overrides and trace filters

  • Cast signer selection: Cast now checks the keychain root signer against the address supplied with --from (#18754, @mablr).
  • Cast request generation: cast call --curl now carries call overrides into the generated curl request (#18756, @mablr).
  • Anvil trace filtering: Users can now select traces by block hash (#17360, @figtracer).

Gas estimation, linting and internal changes

A fix from @klkvr caps the gas estimate multiplier at the chain’s transaction gas limit cap (#18766). The linter now resolves symlinked inputs before looking them up in the abstract syntax tree (#18755, @mablr).

In symbolic execution, @stevencartavia bounded a stream’s elapsed fraction by its end (#18734), limited half-up rounding to the floor plus one (#18735), folded nested constant divisions (#18739) and bounded interpolation by its upper endpoint (#18736). A fix from @mablr prevents vm.isPersistent from aliasing a free address (#18683).

Other maintenance by @mablr reused ABI argument-coercion logic (#18748), simplified storage layout ownership (#18749) and updated foundry-core (#18761). The version bump was contributed by @stevencartavia (#18764).

Further reading