ethpm / py-ethpm

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

Contract subclass to handle link references #89

Closed njgheorghita closed 6 years ago

njgheorghita commented 6 years ago

What was wrong?

Contract factory subclass was needed to manage Package's which contain link references between, and adjust the bytecode accordingly.

How was it fixed?

Wrote a LinkableContract subclass that inherits from web3.contract.Contract. Implements following methods.

Cute Animal Picture

image

njgheorghita commented 6 years ago

@pipermerriam ready for an initial :eyes: whenever you get the chance

njgheorghita commented 6 years ago

@pipermerriam Thanks for the review! I beefed up the tests and got rid of the class mutation, let me know if there's anything else