Gas prices during transaction simulation were left to the default of 0, leading to problems and inconsistencies during tx simulation (for scripting). In normal execution, the cheatcode tracer takes care of setting the right values after the initial revm validation.
Solution
Propagate the environment (from fork or else) to the backend before running transact
Motivation
Gas prices during transaction simulation were left to the default of 0, leading to problems and inconsistencies during tx simulation (for scripting). In normal execution, the cheatcode tracer takes care of setting the right values after the initial revm validation.
Solution
Propagate the environment (from fork or else) to the backend before running
transact