diff --git a/tests/core/pyspec/eth2spec/test/deneb/sanity/test_blocks.py b/tests/core/pyspec/eth2spec/test/deneb/sanity/test_blocks.py index 5c9cd6e2c..a6dcc7e9a 100644 --- a/tests/core/pyspec/eth2spec/test/deneb/sanity/test_blocks.py +++ b/tests/core/pyspec/eth2spec/test/deneb/sanity/test_blocks.py @@ -40,7 +40,9 @@ def run_block_with_blobs(spec, state, blob_count, tx_count=1, data_gas_used=1, e blob_kzg_commitments += commits for _ in range(non_blob_tx_count): - txs.append(get_random_tx(rng=rng)) + txs.append(get_random_tx(rng)) + + rng.shuffle(txs) block.body.blob_kzg_commitments = blob_kzg_commitments block.body.execution_payload.transactions = txs