delete unused REST version constants (#4166)

Removes unused `Phase0Version` and `AltairVersion` constants.
This commit is contained in:
Etan Kissling 2022-09-23 14:48:53 +02:00 committed by GitHub
parent deb043796b
commit cd626cf645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -63,10 +63,6 @@ const
# Size of `ValidatorSig` hexadecimal value (without 0x) # Size of `ValidatorSig` hexadecimal value (without 0x)
RootHashSize = sizeof(Eth2Digest) * 2 RootHashSize = sizeof(Eth2Digest) * 2
# Size of `xxx_root` hexadecimal value (without 0x) # 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") ApplicationJsonMediaType* = MediaType.init("application/json")
TextPlainMediaType* = MediaType.init("text/plain") TextPlainMediaType* = MediaType.init("text/plain")