Skip to content

Commit

Permalink
style: stringify EigenDACommitment hint as "eigenda-commitment" inste…
Browse files Browse the repository at this point in the history
…ad of "altda-commitment"
  • Loading branch information
samlaf committed Dec 17, 2024
1 parent d65f8dc commit c4ef7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/proof/src/hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl TryFrom<&str> for HintType {
"l2-account-proof" => Ok(Self::L2AccountProof),
"l2-account-storage-proof" => Ok(Self::L2AccountStorageProof),
"l2-payload-witness" => Ok(Self::L2PayloadWitness),
"altda-commitment" => Ok(Self::EigenDACommitment),
"eigenda-commitment" => Ok(Self::EigenDACommitment),
_ => Err(HintParsingError(value.to_string())),
}
}
Expand All @@ -131,7 +131,7 @@ impl From<HintType> for &str {
HintType::L2AccountProof => "l2-account-proof",
HintType::L2AccountStorageProof => "l2-account-storage-proof",
HintType::L2PayloadWitness => "l2-payload-witness",
HintType::EigenDACommitment => "altda-commitment",
HintType::EigenDACommitment => "eigenda-commitment",
}
}
}
Expand Down

0 comments on commit c4ef7c9

Please sign in to comment.