Add Trin Execution ClientCode (#6502)

* Add Trin Execution ClientCode
This commit is contained in:
Kolby Moroz Liebl
2024-10-17 19:09:28 -07:00
committed by GitHub
parent a074e9eb33
commit 9f1bec6372

View File

@@ -570,6 +570,7 @@ pub enum ClientCode {
Lodestar,
Nethermind,
Nimbus,
TrinExecution,
Teku,
Prysm,
Reth,
@@ -588,6 +589,7 @@ impl std::fmt::Display for ClientCode {
ClientCode::Lodestar => "LS",
ClientCode::Nethermind => "NM",
ClientCode::Nimbus => "NB",
ClientCode::TrinExecution => "TE",
ClientCode::Teku => "TK",
ClientCode::Prysm => "PM",
ClientCode::Reth => "RH",
@@ -611,6 +613,7 @@ impl TryFrom<String> for ClientCode {
"LS" => Ok(Self::Lodestar),
"NM" => Ok(Self::Nethermind),
"NB" => Ok(Self::Nimbus),
"TE" => Ok(Self::TrinExecution),
"TK" => Ok(Self::Teku),
"PM" => Ok(Self::Prysm),
"RH" => Ok(Self::Reth),