From e9a17fb99fb201ef6c3aa8f8ee6ded1179cac6bc Mon Sep 17 00:00:00 2001 From: tersec Date: Mon, 31 Jul 2023 22:20:09 +0000 Subject: [PATCH] remove workaround for long-since-fixed Nim bug (#5219) --- beacon_chain/networking/network_metadata.nim | 5 ----- 1 file changed, 5 deletions(-) diff --git a/beacon_chain/networking/network_metadata.nim b/beacon_chain/networking/network_metadata.nim index 6f9b243d1..ebe61fab3 100644 --- a/beacon_chain/networking/network_metadata.nim +++ b/beacon_chain/networking/network_metadata.nim @@ -49,11 +49,6 @@ type Eth2NetworkMetadata* = object case incompatible*: bool of false: - # TODO work-around a Nim codegen issue where upon constant assignment - # the compiler will copy `incompatibilityDesc` even when the case - # branch is not active and thus it will override the first variable - # in this branch. - dummy: string # If the eth1Network is specified, the ELManager will perform some # additional checks to ensure we are connecting to a web3 provider # serving data for the same network. The value can be set to `None`