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