We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c140b1 commit 5850e0bCopy full SHA for 5850e0b
tests/beacon/conftest.py
@@ -362,11 +362,8 @@ def empty_beacon_state(latest_block_roots_length,
362
justification_bitfield=0,
363
finalized_slot=0,
364
latest_crosslinks=(),
365
- latest_block_roots=tuple(ZERO_HASH32 for _ in range(latest_block_roots_length)),
366
- latest_penalized_exit_balances=tuple(
367
- 0
368
- for _ in range(latest_penalized_exit_length)
369
- ),
+ latest_block_roots=(ZERO_HASH32,) * latest_block_roots_length,
+ latest_penalized_exit_balances=(0,) * latest_penalized_exit_length,
370
latest_attestations=(),
371
batched_block_roots=(),
372
processed_pow_receipt_root=b'\x55' * 32,
0 commit comments