ethereum / eth-keys

A common API for Ethereum key operations.
MIT License
160 stars 64 forks source link

Expose factories for 3rd party use #69

Open pipermerriam opened 4 years ago

pipermerriam commented 4 years ago

What was wrong?

It is nice to be able to easily generate dummy data for tests.

https://github.com/ethereum/trinity/blob/545a1d59eb78195bef00a83f5d40cbfa267f31cf/p2p/tools/factories/keys.py

The above uses factory-boy to create factories for generating PublicKey and PrivateKey instances for testing.

How can it be fixed?

JC-swEng commented 1 year ago

Is this issue still open?