From 4fa47d1b54840817f45246f4d027df6fdb602fa7 Mon Sep 17 00:00:00 2001
From: Wolmin <44748271+Wolmin@users.noreply.github.com>
Date: Fri, 27 Sep 2024 18:16:25 +0200
Subject: [PATCH] feat: LUKSO Mainnet Dencun Hardfork (#8650)

---
 .../teku/spec/config/configs/lukso.yaml       | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/lukso.yaml b/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/lukso.yaml
index e825952987d..31bed3e72dc 100644
--- a/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/lukso.yaml
+++ b/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/lukso.yaml
@@ -59,6 +59,11 @@ BELLATRIX_FORK_EPOCH: 0
 CAPELLA_FORK_VERSION: 0x42000004
 CAPELLA_FORK_EPOCH: 8100
 
+# Deneb
+# Date and time (GMT): Wednesday, 20 November 2024 16:20:00
+DENEB_FORK_VERSION: 0x42000005
+DENEB_FORK_EPOCH: 123075
+
 # Fork choice
 # ---------------------------------------------------------------
 # 40%
@@ -137,4 +142,16 @@ SUBNETS_PER_NODE: 2
 ATTESTATION_SUBNET_COUNT: 64
 ATTESTATION_SUBNET_EXTRA_BITS: 0
 # ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
-ATTESTATION_SUBNET_PREFIX_BITS: 6
\ No newline at end of file
+ATTESTATION_SUBNET_PREFIX_BITS: 6
+
+# Deneb
+# `2**7` (=128)
+MAX_REQUEST_BLOCKS_DENEB: 128
+# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
+MAX_REQUEST_BLOB_SIDECARS: 768
+# `2**12` (= 4096 epochs, ~18 days)
+MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
+# `6`
+BLOB_SIDECAR_SUBNET_COUNT: 6
+# [New in Deneb:EIP7514] 2**3 (= 8)
+MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 8