Skip to content

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

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:

Activity

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

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