Skip to content

bug: Cannot compile iroh #3476

@juchiast

Description

@juchiast

Describe the bug
Cannot compile iroh because pkarr 3.11 introduced a breaking change by bumping ed25519-dalek to v3

Relevant Logs

    Checking iroh-relay v0.92.0
error[E0277]: the trait bound `iroh_base::PublicKey: From<ed25519_dalek::verifying::VerifyingKey>` is not satisfied
   --> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/iroh-relay-0.92.0/src/node_info.rs:635:23
    |
635 |         let node_id = NodeId::from(*pubkey.verifying_key());
    |                       ^^^^^^ the trait `From<ed25519_dalek::verifying::VerifyingKey>` is not implemented for `iroh_base::PublicKey`
    |
    = help: the trait `From<ed25519_dalek::verifying::VerifyingKey>` is not implemented for `iroh_base::PublicKey`
            but trait `From<ed25519_dalek::verifying::VerifyingKey>` is implemented for it
    = help: for that trait implementation, expected `ed25519_dalek::verifying::VerifyingKey`, found `ed25519_dalek::verifying::VerifyingKey`

Temporary fix
Pin pkarr version

pkarr = "=3.10"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions