Foundry nightly adds Forge script error codes and checks Cast’s signer against –from

Developers handling a failed Forge script can now read an error code in its JSON response. Foundry’s nightly release, published on November 27, 2026, at 15:11:24 (UTC+08:00), also changes how Cast checks the sender and how Anvil filters execution traces.

Forge: script failures and funding

Forge now includes error codes in the response returned by --json when a script fails (#18696). If Forge refuses to proceed with --no-compile, it reports compiler.stale (#18762). A related fix adds error codes for more remote procedure call (RPC) failures in the JSON response (#18707).

A separate fix funds the deployed script contract when the script uses the default sender (#18757).

Cast and Anvil: sender checks, call overrides and traces

Cast now checks the keychain’s root signer against the address supplied with --from (#18754). When cast call --curl produces a curl command, it forwards the call overrides (#18756).

Anvil can now filter execution traces by block hash, letting developers select traces for a particular block (#17360). The release also caps the gas estimate multiplier at the chain’s transaction gas limit cap (#18766).

Analysis tools and maintenance

The linter now resolves symbolic links in input paths before looking up the abstract syntax tree, the structured representation of the code (#18755). Symbolic analysis fixes bound a stream’s elapsed fraction by its end (#18734), half-up rounding by the floor plus one (#18735), and interpolation by its upper endpoint (#18736). Two other fixes simplify nested divisions by constants (#18739) and prevent vm.isPersistent from aliasing a free address (#18683).

Internal changes reuse argument conversion in the application binary interface (ABI) code (#18748) and simplify storage layout ownership (#18749). The nightly also updates foundry-core (#18761) and bumps the version to 1.10.2 (#18764).