Skip to content

feat: add inspect_system_call method to Evm trait#151

Closed
rezzmah wants to merge 1 commit intoalloy-rs:mainfrom
berachain:rezbera/system-inspector-alloy-custom
Closed

feat: add inspect_system_call method to Evm trait#151
rezzmah wants to merge 1 commit intoalloy-rs:mainfrom
berachain:rezbera/system-inspector-alloy-custom

Conversation

@rezzmah
Copy link
Contributor

@rezzmah rezzmah commented Aug 6, 2025

temporary till merged upstream. See #146

Adds a dedicated inspect_system_call method that executes system calls
with inspection enabled without committing state changes. This separates
the concerns of inspection and transaction execution for system calls.

- Add inspect_system_call to Evm trait with documentation
- Implement across all EVM types (Either, EthEvm, OpEvm)
- Refactor transact_system_call to always use non-inspecting variant
- Add required ResultAndState import to either.rs

Update Cargo.toml

Update either.rs
@rezzmah rezzmah closed this Aug 6, 2025
@rezzmah
Copy link
Contributor Author

rezzmah commented Aug 6, 2025

wrong repo 🤦

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