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

feat(ethers-core/Chain): make to_string and from_str inverse functions #903

Merged
merged 1 commit into from
Feb 12, 2022

Conversation

meetmangukiya
Copy link
Contributor

Closes #897

Motivation

Currently, to_string and from_str are not mirroring each other, maybe they should.

Solution

Overriding the default Debug's impl.

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@meetmangukiya meetmangukiya force-pushed the chain-string-consistent branch from cf8cb82 to 3886df5 Compare February 12, 2022 08:40
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.

thanks!
lgtm

@gakonst gakonst merged commit 1f0eb72 into gakonst:master Feb 12, 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.

Make Chain's to_string and from_str inverse functions
3 participants