File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -903,6 +903,10 @@ def execute(
903903 for block in self .blocks :
904904 blocks += [block .txs ]
905905 # Pass gas validation params for benchmark tests
906+ # If not benchmark mode, skip gas used validation
907+ if self ._operation_mode != OpMode .BENCHMARKING :
908+ self .skip_gas_used_validation = True
909+
906910 return TransactionPost (
907911 blocks = blocks ,
908912 post = self .post ,
Original file line number Diff line number Diff line change @@ -445,6 +445,9 @@ def execute(
445445 """Generate the list of test fixtures."""
446446 if execute_format == TransactionPost :
447447 # Pass gas validation params for benchmark tests
448+ # If not benchmark mode, skip gas used validation
449+ if self ._operation_mode != OpMode .BENCHMARKING :
450+ self .skip_gas_used_validation = True
448451 return TransactionPost (
449452 blocks = [[self .tx ]],
450453 post = self .post ,
You can’t perform that action at this time.
0 commit comments