Skip to content

Conversation

ritzdorf
Copy link
Contributor

@ritzdorf ritzdorf commented Sep 4, 2025

Changed the documentation to clarify which state is using in --fork-transaction-hash.

Here is the source:
https://github.com/foundry-rs/foundry/blob/961241c02fb06143608d5b985a1bae793ac8f172/crates/anvil/src/config.rs#L1442C26-L1442C35

Motivation

It really was not clear to me when reading the option whether I would get the state BEFORE or AFTER that transaction has been executed. Also ChatGPT claimed BEFORE.

Solution

I, hopefully, clarified the docs.

@zerosnacks zerosnacks self-requested a review September 4, 2025 11:31
Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@DaniPopes DaniPopes merged commit 8f682de into foundry-rs:master Sep 4, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants