Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

December 2024 Hot Fixes #363

Open
0x4007 opened this issue Dec 11, 2024 · 0 comments
Open

December 2024 Hot Fixes #363

0x4007 opened this issue Dec 11, 2024 · 0 comments

Comments

@0x4007
Copy link
Member

0x4007 commented Dec 11, 2024

Can not estimate gas

I tried claiming my old permits and noticed a handful would consistently fail with this message. There is a chance that those are not properly encoded permits but definitely worth checking.

erc20-permit.ts:93 Error in permitTransferFrom: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted", method="estimateGas", transaction={"from":"0x4007CE2083c7F3E18097aeB3A39bb8eC149a341d","to":"0x000000000022D473030F116dDEE9F6B43aC78BA3","data":"0x30f28b7a000000000000000000000000e91d153e0b41518a2ce8dd3d7944fa863463a97d000000000000000000000000000000000000000000000009841b5bf300120000cc8ed968f5af88520dba9aaa366793e240ae7f8971ed75800bab1883645cf6f3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000004007ce2083c7f3e18097aeb3a39bb8ec149a341d000000000000000000000000000000000000000000000009841b5bf3001200000000000000000000000000009051eda96db419c967189f4ac303a290f33276800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000004151868b47cdf9e9f778e29addccb82c5fe060bb422f7ab25c83fcc5e6981a75ce03dd4f666abace6f4774050bae739aa7d5b35a0aed7281c2e02f2d0f8c7ef6a61b00000000000000000000000000000000000000000000000000000000000000","accessList":null}, error={"code":-32603,"message":"Internal JSON-RPC error.","data":{"code":3,"message":"execution reverted","data":"0x815e1d64","cause":null},"stack":"{\n  \"code\": -32603,\n  \"message\": \"Internal JSON-RPC error.\",\n  \"data\": {\n    \"code\": 3,\n    \"message\": \"execution reverted\",\n    \"data\": \"0x815e1d64\",\n    \"cause\": null\n  },\n  \"stack\": \"Error: Internal JSON-RPC error.\\n    at new o (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:282928)\\n    at a (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:286161)\\n    at Object.internal (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:286770)\\n    at c (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:221863)\\n    at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:222865\\n    at async chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:278266\"\n}\n  at new o (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:282928)\n  at a (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:286161)\n  at Object.internal (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:286770)\n  at c (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:221863)\n  at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:222865\n  at async chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-1.js:1:278266"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)
    at Logger23.makeError (index.ts:269:28)
    at Logger23.throwError (index.ts:281:20)
    at checkError2 (json-rpc-provider.ts:78:20)
    at Web3Provider.<anonymous> (json-rpc-provider.ts:642:20)
    at Generator.throw (<anonymous>)
    at rejected (json-rpc-provider.ts:16:24)

Already claimed indicator

It shows the view claim button as well as the loading icon. This should be fixed.

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant