Update tests/core/pyspec/eth2spec/test/helpers/attestations.py

This commit is contained in:
Alex Stokes 2024-04-05 09:43:48 -06:00 committed by GitHub
parent 3d3ec8fbba
commit a56bd85674
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -272,7 +272,7 @@ def _aggregate_aggregation_bits_and_signatures(spec, state, slot, aggregate, att
def get_valid_attestation_at_slot(state, spec, slot_to_attest, participation_fn=None, beacon_block_root=None): def get_valid_attestation_at_slot(state, spec, slot_to_attest, participation_fn=None, beacon_block_root=None):
""" """
Return the aggregate attestation post EIP-7549. Return the aggregate attestation post EIP-7549.
Note: this EIP supports dense packing of on-chain aggregates so we can just return a single `Attestation`. Note: this EIP supports dense packing of on-chain aggregates so we can just return a single `Attestation`.
""" """
assert is_post_eip7549(spec) assert is_post_eip7549(spec)