Skip to content

Conversation

jackchuma
Copy link
Contributor

@jackchuma jackchuma commented Oct 12, 2025

Adds a StateDiff library that facilitates optional state diff recording to a local file after transaction simulation. This allows us to analyze the transaction state diff using forge cheatcodes instead of having to maintain our own custom evm database implementation. Tasks that wish to use this feature need to set RECORD_STATE_DIFF=true in their .env file

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Oct 12, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@jackchuma jackchuma marked this pull request as ready for review October 13, 2025 13:39
@jackchuma jackchuma requested review from mdehoog and xenoliss October 13, 2025 13:42
Copy link

@leopoldjoy leopoldjoy left a comment

Choose a reason for hiding this comment

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

It looks great to me! I left a couple things I noticed below.

@jackchuma jackchuma requested a review from leopoldjoy October 14, 2025 20:14
@jackchuma jackchuma merged commit 98ec680 into main Oct 14, 2025
4 of 5 checks passed
@jackchuma jackchuma deleted the jack/state-diff branch October 14, 2025 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants