This test generates the attestation in epoch 1, which is meant to be a CAPELLA attestation. But with the default config, it ends up being within DENEB. This would mean we are only testing that the new rules apply to attestations within DENEB instead of ensuring they also apply to attestations from the final CAPELLA epoch.
In the latest release (v1.4.0-beta.0), there's a new test called
include_attestation_from_previous_fork_with_new_range
meant to ensure the new attestation inclusion rules under EIP-7045 apply to attestations from the finalCAPELLA
epoch. This is the only generated test which makes use of the@spec_configured_state_test
override.This override emits a
config.yaml
file in the generated test directory. There are several problems with this:1) The sanity test definition does not say to expect a
config.yaml
2) The generatedconfig.yaml
is invalid:3) The generated
config.yaml
is missing the following fields which (without modification) prevent lighthouse from ingesting it:DEPOSIT_CHAIN_ID
DEPOSIT_NETWORK_ID
DEPOSIT_CONTRACT_ADDRESS
4) If clients silently ignore theconfig.yaml
(which is likely), they will use the default testing config:This test generates the attestation in epoch
1
, which is meant to be aCAPELLA
attestation. But with the default config, it ends up being withinDENEB
. This would mean we are only testing that the new rules apply to attestations withinDENEB
instead of ensuring they also apply to attestations from the finalCAPELLA
epoch.