diff --git a/pkg/cannon/deriver/beacon/eth/v2/beacon_block.go b/pkg/cannon/deriver/beacon/eth/v2/beacon_block.go index d6f09580..069322ad 100644 --- a/pkg/cannon/deriver/beacon/eth/v2/beacon_block.go +++ b/pkg/cannon/deriver/beacon/eth/v2/beacon_block.go @@ -413,6 +413,8 @@ func getBlockMessage(block *spec.VersionedSignedBeaconBlock) (ssz.Marshaler, err return block.Capella.Message, nil case spec.DataVersionDeneb: return block.Deneb.Message, nil + case spec.DataVersionElectra: + return block.Electra.Message, nil default: return nil, fmt.Errorf("unsupported block version: %s", block.Version) }