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

docs: update some doctest examples #2339

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Conversation

DaniPopes
Copy link
Collaborator

Motivation

Cleaned up doctests with tokio::main and no_run, and etherscan tests which all had redundant client initializations which are not the focus of the example

I don't believe running async tests in doctests is a great practice

Breaking change in etherscan::Client::get_ether_balance_multi because slice of references is not good

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich merged commit 7b89b7c into gakonst:master Apr 10, 2023
@prestwich
Copy link
Collaborator

prestwich commented Apr 10, 2023

Merging as CI failures are unrelated and we have another small breaking change in ethers-etherscan already from #2327

@DaniPopes DaniPopes deleted the docs/examples branch April 12, 2023 21:36
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.

2 participants