bcnmy / mexa-sdk

Repository contains mexa sdk code that can be plugged into your dapp and can leverage meta transaction feature.
MIT License
106 stars 41 forks source link

Gnosis SCW config breaks Biconomy.js init #67

Closed artsparkAI closed 3 years ago

artsparkAI commented 3 years ago

Describe the bug Adding the gnosis SCW config to the dashboard causes an error in initializing SDK. This is due to the SCW config having an undefined address and usage of address.toLowerCase() in various parts of the Biconomy SDK.

This results in an error like this when initializing the SDK:

image

To Reproduce

  1. Add Gnosis SCW config on Biconomy dashboard.
  2. Initialize Biconomy SDK

Expected behavior Biconomy SDK inits

Mexa SDK version (please complete the following information):

artsparkAI commented 3 years ago

resolved by #68