Skip to content

Conversation

MozirDmitriy
Copy link
Contributor

…fig and their use in configure_executor

Motivation

TODO

Solution

  • Updated evm_opts and env fields in reconfigure_with method based on new configuration (Config), which allows to correctly apply inline-config and update EVM environment.
  • The configure_executor method now explicitly applies env and evm_opts to the Executor: environment, gas limit, create2_deployer and other parameters are set.
  • Removed the TODO comments associated with these fields and implemented the actual logic.
  • This ensures that the test runner works correctly when changing the configuration on the fly and eliminates possible inconsistencies between the settings and the state of the EVM.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@DaniPopes
Copy link
Member

This is not correct

@DaniPopes DaniPopes closed this Aug 12, 2025
@github-project-automation github-project-automation bot moved this to Done in Foundry Aug 12, 2025
@MozirDmitriy MozirDmitriy deleted the lalopo branch August 27, 2025 14:14
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.

2 participants