Skip to content

feat(evm): support state overrides with BAL reads - #378

Closed
mattsse wants to merge 1 commit into
mainfrom
mattsse/bal-state-overrides
Closed

feat(evm): support state overrides with BAL reads#378
mattsse wants to merge 1 commit into
mainfrom
mattsse/bal-state-overrides

Conversation

@mattsse

@mattsse mattsse commented Aug 27, 2026

Copy link
Copy Markdown
Member

Adds apply_state_overrides on State and CacheDB, accepting account overrides plus nested per-account storage iterators. Overrides reuse the existing BAL builder as the accepted-state overlay, so overrides and later commits win over attached BAL reads without another database wrapper or an additional state field.

Supports diff and replacement storage semantics, including addresses and slots not covered by the attached BAL.

@mattsse
mattsse force-pushed the mattsse/bal-state-overrides branch from 9ea8472 to 0861cd9 Compare August 27, 2026 10:52

@mattsse mattsse left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is giga dogshit, the feature im looking for here is: apply stateoverrides on top of bal

actually, maybe this doesnt need an integration like this at all

@mattsse mattsse closed this Aug 27, 2026
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.

1 participant