Skip to content

Conversation

@sashass1315
Copy link
Contributor

Synchronize relevant Config fields into EvmOpts and EvmOpts::Env within TestRunnerConfig::reconfigure_with so that inline config updates (gas limits, memory, isolation, verbosity, create2 deployer, chain and block parameters) take effect. Apply gas_limit and create2_deployer in configure_executor to keep runtime aligned. Introduce configure_executor_env to apply the full Env only at contract level before setUp() runs, preventing function-level inline config from overriding environment changes made by setUp or cheatcodes. Update ContractRunner::apply_contract_inline_config to call configure_executor_env before configure_executor.

@Yasersarhadikarbasak

This comment was marked as spam.

@Yasersarhadikarbasak

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants