Skip to content

WASM regression: Usage of std::time::Instant #2134

@fusetim

Description

@fusetim

While creating my custom node based on rust-libp2p, I rediscovered some uses of std::time::Instant in the Gossipsub and Kadmelia modules. As previously done by the PR #1071 (issue #900), the remaining std::time::Instant should again be replaced with wasm_timer::Instant to allow Wasm compatibility.

The spotted ones:

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