From cd626cf645d8e858cd0292c0749752b74b804f71 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 23 Sep 2022 14:48:53 +0200 Subject: [PATCH] delete unused REST version constants (#4166) Removes unused `Phase0Version` and `AltairVersion` constants. --- beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim b/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim index 17948c47c..2e49ca0b8 100644 --- a/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim +++ b/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim @@ -63,10 +63,6 @@ const # Size of `ValidatorSig` hexadecimal value (without 0x) RootHashSize = sizeof(Eth2Digest) * 2 # Size of `xxx_root` hexadecimal value (without 0x) - Phase0Version = - [byte('p'), byte('h'), byte('a'), byte('s'), byte('e'), byte('0')] - AltairVersion = - [byte('a'), byte('l'), byte('t'), byte('a'), byte('i'), byte('r')] ApplicationJsonMediaType* = MediaType.init("application/json") TextPlainMediaType* = MediaType.init("text/plain")