Skip to content

libp2p-ping sometimes panics in WASM #5442

@oblique

Description

@oblique

Summary

While researching our eigerco/lumina#256 bug we found one of the causes were bacause libp2p-ping was panicking.

This was due to inconsistent behavior in futures-timer when it was used in WASM.

Expected behavior

Not to panic

Actual behavior

Panics

Relevant log output

No response

Possible Solution

We fixed the issue with async-rs/futures-timer#74 PR and we are waiting to be reviewed and get merged.

If futures-timer rejects or do not merge our fix, then another fix can be applied directly in libp2p-ping.

Version

No response

Would you like to work on fixing this bug ?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions