Chain Future

Solidity, smart-contract development, developer tools and explained protocol engineering

Foundry nightly adds getStorageSlot and fixes Scroll fork handling

For builders inspecting contract storage or testing against a Scroll fork, the Foundry nightly release listed on November 21, 2026 includes changes to Forge and Anvil. The release notes describe software changes, not results from testing a particular project.

Forge and Anvil

  • Forge: A new getStorageSlot cheatcode was added by @SibghatUllah1997 (#18382). A cheatcode is a Foundry testing command; the release note does not provide a usage example.
  • Forge fixes: Created accounts are now scoped to their fork (@stevencartavia, #18627). Coverage ignores --ir-minimum when used with Solar (@DaniPopes, #18637).
  • Anvil fixes: Scroll fork headers without blob fields are accepted (#18625), and EIP-4788 is skipped when replaying Scroll prefixes (#18624). Both fixes are credited to @stevencartavia.

Other changes

The release also lists symbolic-analysis fixes by @stevencartavia: bounding a rounded-up fee (#18621), searching five variables for hard-arithmetic witnesses (#18628), bounding elapsed time by the asserted end (#18609), bounding a sum of floored shares by the whole (#18610), ordering quotients by divisor (#18615), bounding a balance scaled by a grown index (#18617), seeing through the DIV guard in rounded products (#18623), and deriving an order from a cross-multiplied fact (#18612). @mablr updated zstd security patches (#18633).