-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
📱 Interface Affected
The default RPC for polygon (polygon-rpc) stopped supporting get_code which is resulting in an error:
Here is the msg data: "id":"1772576074888221952","jsonrpc":"2.0","method":"eth_getCode","params":["0x21120bee87ead5c9131927e0bde380bc8673cfcf","latest"]}
and the error response:
{
"error": "message: API key disabled, reason: tenant disabled, json-rpc code: -32051, rest code: 403"
}
the message is made to polygon-rpc.com uniswaps default rpc configured for the chain. This request is used for smart wallets to determine whether they support 1271 style signatures.
Ideally you should catch this error and fallback to use the RPC configured with the user, this will mitigate all error's by allowing the user to configure their own rpc locally from their connected wallet.
Which application are you experiencing issues with?
- Web (app.uniswap.org)
🧩 App Version
- Version (if known):
- Production build