moonstream-to / moonworm

codegen for crypto degens and other ethereum smart contract toolkit for python
Apache License 2.0
36 stars 7 forks source link

Fixed brownie project loading issue #29

Closed zomglings closed 2 years ago

zomglings commented 2 years ago

Changes

Changed the implementation of the contract_from_build to allow loading multiple contracts in the same process.

This is hopefully a temporary workaround until we hear back from brownie maintainers regarding: https://github.com/eth-brownie/brownie/issues/1368

How to test these changes?

Generate multiple contracts and load them in the same process (I tested manually).

Related issues

https://github.com/eth-brownie/brownie/issues/1368