grants-stack icon indicating copy to clipboard operation
grants-stack copied to clipboard

Explorer - Scroll checkout fails for USDC

Open MasterHW opened this issue 1 year ago • 1 comments

What was the URL where the error occurred?

https://explorer.gitcoin.co/#/cart

What happened?

Checkout using ETH on scroll works, but when checking out a project from a test round (https://explorer.gitcoin.co/#/round/534352/21) donations with USDC token fail. image

What should have happened instead?

Donations using USDC should succeed, as they already do with ETH.

Steps to Reproduce

i) add a project from test round to cart https://explorer.gitcoin.co/#/round/534352/21 ii) have some eth and usdc on scroll iii) attempt checkout iv) sign transaction v) fail

What browser(s) are you seeing the problem on?

Chrome

What chain(s) did the error occur on?

Scroll

Relevant log output

checkoutStore.ts:206 donation error 
AlloError: Failed to send transaction: 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: EIP2612: invalid signature", method="estimateGas", transaction={"from":"0xDa3F600A97078Ab97793D4Fd6f7C11cB37a5F565","to":"0x8Bd6Bc246FAF14B767954997fF3966CD1c0Bf0f5","data":"0x7449b8ee000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000000000000000000000000000190edd6dd80000000000000000000000000000000000000000000000000000000000000001b43bb19161e1d00527991f4e7be4be481df4949df228774b33d61ac1b0cdcec010ca9c8393add4b2773c3f51f150871c88856f8a5aba58cb481f0862ed304e3fd0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001400000000000000000000000008f7e159c9ade2af9650c3018f6104d8502973ee40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000000000000000000000000000000000186a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000015000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000186a0","accessList":null}, error={"code":-32603,"message":"Internal JSON-RPC error.","data":{"code":3,"message":"execution reverted: EIP2612: invalid signature","data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a454950323631323a20696e76616c6964207369676e6174757265000000000000","cause":null}}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)
    at v (transaction-sender.ts:314:7)
    at async U.donate (allo-v2.ts:182:14)
    at async checkout (checkoutStore.ts:164:25)
    at async ct (SummaryContainer.tsx:231:7)
 
{chainId: 534352, donations: Array(1), token: {…}, error: 'Failed to send transaction: Error: cannot estimate…UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)', cause: undefined}
SummaryContainer.tsx:236 
AlloError: Failed to send transaction: 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: EIP2612: invalid signature", method="estimateGas", transaction={"from":"0xDa3F600A97078Ab97793D4Fd6f7C11cB37a5F565","to":"0x8Bd6Bc246FAF14B767954997fF3966CD1c0Bf0f5","data":"0x7449b8ee000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000000000000000000000000000190edd6dd80000000000000000000000000000000000000000000000000000000000000001b43bb19161e1d00527991f4e7be4be481df4949df228774b33d61ac1b0cdcec010ca9c8393add4b2773c3f51f150871c88856f8a5aba58cb481f0862ed304e3fd0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001400000000000000000000000008f7e159c9ade2af9650c3018f6104d8502973ee40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000000000000000000000000000000000186a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000015000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000186a0","accessList":null}, error={"code":-32603,"message":"Internal JSON-RPC error.","data":{"code":3,"message":"execution reverted: EIP2612: invalid signature","data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a454950323631323a20696e76616c6964207369676e6174757265000000000000","cause":null}}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)
    at v (transaction-sender.ts:314:7)
    at async U.donate (allo-v2.ts:182:14)
    at async checkout (checkoutStore.ts:164:25)
    at async ct (SummaryContainer.tsx:231:7)

MasterHW avatar Jul 25 '24 02:07 MasterHW