From 91e18caf84afe06333173d60f908f61d9f7672f4 Mon Sep 17 00:00:00 2001 From: Kim De Mey Date: Sat, 5 Oct 2024 13:39:42 +0200 Subject: [PATCH] Fix Portal beacon statusLogLoop that was not running (#2702) --- fluffy/network/beacon/beacon_network.nim | 1 + fluffy/tools/eth_data_exporter/cl_data_exporter.nim | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/fluffy/network/beacon/beacon_network.nim b/fluffy/network/beacon/beacon_network.nim index c6f49d62f..36651a291 100644 --- a/fluffy/network/beacon/beacon_network.nim +++ b/fluffy/network/beacon/beacon_network.nim @@ -380,6 +380,7 @@ proc start*(n: BeaconNetwork) = n.portalProtocol.start() n.processContentLoop = processContentLoop(n) + n.statusLogLoop = statusLogLoop(n) proc stop*(n: BeaconNetwork) {.async: (raises: []).} = info "Stopping Portal beacon chain network" diff --git a/fluffy/tools/eth_data_exporter/cl_data_exporter.nim b/fluffy/tools/eth_data_exporter/cl_data_exporter.nim index 3656eb9b4..3ce82c484 100644 --- a/fluffy/tools/eth_data_exporter/cl_data_exporter.nim +++ b/fluffy/tools/eth_data_exporter/cl_data_exporter.nim @@ -131,7 +131,6 @@ proc exportLCUpdates*( withForkyObject(updates[0]): when lcDataFork > LightClientDataFork.None: let - slot = forkyObject.attested_header.beacon.slot period = forkyObject.attested_header.beacon.slot.sync_committee_period contentKey = encode(updateContentKey(period.uint64, count)) forkDigest = forkDigestAtEpoch(