verified-network / verified-sdk

APIs for applications to integrate to the Verified Network for Defi payments, securities, investments and trading
https://www.verified.network
Other
5 stars 4 forks source link

Biconomy error / CORS #40

Open kallolborah opened 4 months ago

kallolborah commented 4 months ago
XHRPOST
https://paymaster.biconomy.io/api/v1/11155111/BuFP2-5w-.5b3daf3a-d044-4dda-819c-4c4d8431df88
CORS Missing Allow Origin

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://paymaster.biconomy.io/api/v1/11155111/BuFP2-5w-.5b3daf3a-d044-4dda-819c-4c4d8431df88. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 504.

This is observed when apps are tested from local machine. Could that be the cause ?

Mohzcrea8me commented 4 months ago

No this is not the cause for transaction revert, but one of the reasons why gassless failed, it tried communicating with sepolia paymaster url but the cors for the url did not permit it, biconomy gassless work on Mumbai and polygon can the sender test on mumbai

Mohzcrea8me commented 4 months ago

@kallolborah let me know if there's still cors error on sdk > v1.6.0. the contract calls needs to happen on base sepolia