Skip to content

Conversation

@hopinheimer
Copy link
Member

This PR implements the Lean Consensus spec . Currently client is spec compliant with the devnet-1 for the PQ interop.

  • uses the currently considered XMSS signature scheme that can be found in leanSig
  • to run the local devnet lean-quickstart can be used.
docker build . -t lighthouse:local 
  • This PR would add lighthouse to the devnet repo (placeholder).

@hopinheimer hopinheimer added the lean Lean Ethereum consensus. currently under active research label Dec 18, 2025
@hopinheimer hopinheimer changed the title Lean Ethereum 🚀 Lean Ethereum Dec 18, 2025
@hopinheimer hopinheimer requested a review from jxs as a code owner December 27, 2025 09:44
Comment on lines +163 to +165
/// Extracts the libp2p PeerId from an ENR's public key
/// This matches the implementation in network_utils::enr_ext::EnrExt::peer_id
fn extract_peer_id_from_enr(enr: &enr::Enr<enr::CombinedKey>) -> Result<PeerId, String> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we just use that instead then?

///
/// # Returns
/// A vector of raw ENR string bytes. Invalid entries are skipped with warnings.
pub fn load_bootstrap_nodes<P: AsRef<Path>>(path: P) -> Result<Vec<String>, String> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use proper error types instead of String?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lean Lean Ethereum consensus. currently under active research research

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants