Arcology-Builders / democracy

Tools for peer-to-peer privacy with Ethereum and AZTEC
http://zk-transfer.netlify.app
MIT License
44 stars 22 forks source link

[transform] Improve error reporting for object types #55

Closed learner-long-life closed 4 years ago

learner-long-life commented 4 years ago

by dumping their keys.

Test on the result of await demo.keys.wallet.prepareSignerEth({}) and TYPES.ethereumSigner See tests/type.ts for the usage of prepareSignerEth and the expected error message when used incorrectly.

learner-long-life commented 4 years ago

This was cherry-picked into PR #54 and fixed in a later commit for arrays. This particular PR should be deleted without merging because it has a bug causing build the break.