diff --git a/packages/testing/src/execution_testing/specs/benchmark.py b/packages/testing/src/execution_testing/specs/benchmark.py index 1b7d022ae2..1b0d7697f1 100644 --- a/packages/testing/src/execution_testing/specs/benchmark.py +++ b/packages/testing/src/execution_testing/specs/benchmark.py @@ -323,8 +323,9 @@ def execute( ) -> BaseExecute: """Execute the benchmark test by sending it to the live network.""" if execute_format == TransactionPost: + assert self.blocks is not None return TransactionPost( - blocks=[[self.tx]], + blocks=[block.txs for block in self.blocks], post=self.post, ) raise Exception(f"Unsupported execute format: {execute_format}") diff --git a/tests/benchmark/compute/instruction/test_system.py b/tests/benchmark/compute/instruction/test_system.py index 80933bc979..8badf0a676 100644 --- a/tests/benchmark/compute/instruction/test_system.py +++ b/tests/benchmark/compute/instruction/test_system.py @@ -169,7 +169,7 @@ def test_xcall( contracts_deployment_tx = Transaction( to=factory_caller_address, - gas_limit=env.gas_limit, + gas_limit=20 * gas_benchmark_value, gas_price=10**6, data=Hash(num_contracts), sender=pre.fund_eoa(),