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(
903
903
for block in self .blocks :
904
904
blocks += [block .txs ]
905
905
# 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
+
906
910
return TransactionPost (
907
911
blocks = blocks ,
908
912
post = self .post ,
Original file line number Diff line number Diff line change @@ -445,6 +445,9 @@ def execute(
445
445
"""Generate the list of test fixtures."""
446
446
if execute_format == TransactionPost :
447
447
# 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
448
451
return TransactionPost (
449
452
blocks = [[self .tx ]],
450
453
post = self .post ,
You can’t perform that action at this time.
0 commit comments