ethpm / py-ethpm

This library is deprecated. ethPM python tooling is now located in web3.py
MIT License
24 stars 13 forks source link

Update set_default_w3 to return a new Package instance #139

Closed njgheorghita closed 5 years ago

njgheorghita commented 5 years ago

What was wrong?

Package.set_default_w3 was stateful and confusing to manage, and I found it more useful to simply return a new package instance with the updated w3 rather than worrying about managing the state (eg. to which chain is the current w3 instance connected) of a Package instance.

Cute Animal Picture

image

njgheorghita commented 5 years ago

@pipermerriam ping!