Skip to content

feat: decoding external contracts - #16766

Open
sakulstra wants to merge 15 commits into
foundry-rs:masterfrom
sakulstra:feat/decoding-external-contracts
Open

feat: decoding external contracts#16766
sakulstra wants to merge 15 commits into
foundry-rs:masterfrom
sakulstra:feat/decoding-external-contracts

Conversation

@sakulstra

Copy link
Copy Markdown
Contributor

Motivation

A couple months ago i started #13417 and while i completely forgot about that pr, seems like multiple other ppl would appreciate it as well #13304 (comment) so trying to revive it against current foundry.

Adding state decoding for external contracts in storage diffs. This features is incredibly handy when simulating complex contract upgrades or when simulating complex transactions (or even for seemingly trivial ones).

Solution

Introducing a new flag decode_external_storage that fetches external contract sources from explorers, so we can render a rich diff in json state diff.

PR Checklist

  • Added Tests
  • Added ~Documentation
  • No breaking changes

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

✅ Changelog found

The deterministic check will validate the changed entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant