Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(providers): doc test for dev_rpc #857

Merged
merged 1 commit into from
Feb 2, 2022
Merged

Conversation

wolflo
Copy link
Contributor

@wolflo wolflo commented Feb 2, 2022

Motivation

The doc test for the dev_rpc mod was failing when run directly from ethers_providers, because tokio's rt-multi-thread feature is not enabled.

Solution

Specify the current_thread runtime flavor instead.

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

TIL

@gakonst gakonst merged commit 885aa9c into gakonst:master Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants