0x-launch-kit-frontend
0x-launch-kit-frontend copied to clipboard
Errors from ecSignOrderAsync not being handled
I had a bug in my code that caused signatureUtils.ecSignOrderAsync to reject/throw here. It was difficult to track down what was going on because AFAICT the error is just being swallowed up without being logged.
There might be an easier way to reproduce this, but here's more or less what I did:
- Modify
getOrderWithTakerAndFeeConfigFromRelayerto include an invalid field. I had accidentally setmakerFeeAssetDatato0x0instead of0x. - Open launch kit front end in your browser and try to create an order. The MetaMask pop up never shows up and it just says it failed.