Hey folks! Having some trouble paying out my Gitcoin Grants donations.
Describe the bug
First attempt (9/26):
Issues detected. The new Issues tab displays information about deprecations, breaking changes and other potential problems.Go to IssuesLearn more
cart.9f24020c0f77.js:1188 Uncaught (in promise) TypeError: clr_prediction_curve_2d.map is not a function
at a.predictCLRMatch (cart.9f24020c0f77.js:1188)
at a.handler (cart.9f24020c0f77.js:2507)
app.brightid.org/node/v5/verifications/Gitcoin/3e9fea3d-d89d-4394-bf88-108e13b84f06:1 Failed to load resource: the server responded with a status of 404 (Not Found)
raven.js:58 Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.0.7)
at t.makeError (ethers-5.0.umd.min.js:1)
at t.throwError (ethers-5.0.umd.min.js:1)
at t.throwArgumentError (ethers-5.0.umd.min.js:1)
at Function.t.from (ethers-5.0.umd.min.js:1)
at a.checkZkSyncBalances (cart.9f24020c0f77.js:1762)
at async https:/s.gitcoin.co/static/v2/js/cart.9f24020c0f77.js:2642
a.<computed> @ raven.js:58
raven.js:58 Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.0.7)
at t.makeError (ethers-5.0.umd.min.js:1)
at t.throwError (ethers-5.0.umd.min.js:1)
at t.throwArgumentError (ethers-5.0.umd.min.js:1)
at Function.t.from (ethers-5.0.umd.min.js:1)
at a.checkZkSyncBalances (cart.9f24020c0f77.js:1762)
at async a.startZkSyncCheckoutProcess (cart.9f24020c0f77.js:1926)
a.<computed> @ raven.js:58
raven.js:58 Error: Network Error
at T (main.js:1)
at XMLHttpRequest.E.o.onerror (main.js:1)
at XMLHttpRequest.d (raven.js:445)
a.<computed> @ raven.js:58
api.zksync.io/jsrpc:1 Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED
Second attempt (9/29):
Looks to be a similar BigNumber error. Here's from my browser console:
Failed to load resource: the server responded with a status of 404 (Not Found)
raven.min.js:2 Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.0.7)
at t.makeError (ethers-5.0.umd.min.js:1)
at t.throwError (ethers-5.0.umd.min.js:1)
at t.throwArgumentError (ethers-5.0.umd.min.js:1)
at Function.t.from (ethers-5.0.umd.min.js:1)
at a.checkZkSyncBalances (cart.9f24020c0f77.js:1762)
at async https:/s.gitcoin.co/static/v2/js/cart.9f24020c0f77.js:2642
a.<computed> @ raven.min.js:2
raven.min.js:2 Error: JRPC response error
at t.HTTPTransport.<anonymous> (main.js:3)
at Generator.next (<anonymous>)
at s (main.js:3)
To Reproduce
Expected behavior
Screenshots

Desktop (please complete the following information):
Additional context
Here's my MetaMask address: https://etherscan.io/address/0x06DbFdbFdA84eABAea177760092Dc22ab1D8f372
Looking at my recent transactions, it looks like the DAI has been withdrawn from my wallet, but I don't think it's been successfully paid out 😕
thanks @samajammin for the detailed issue report :)
@mds1 can u take a look? iirc we've had issues in brave in the past, metamask/their native web3 walllet dont play nice togetehr
Like @owocki said, thank you for all the details! Made it much easier to figure out what went wrong here.
For Brave, make sure that in settings > Extensions, if you want to use MetaMask, that it looks like this:

However, looking at your transactions on zkScan I don't think that is the issue. Here's what it seems happened:
Network Error and api.zksync.io/jsrpc:1 Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED messages)At this point, your account is in an incomplete state that the site is not setup to handle. So then what happened is:
JRPC response error), which is why it hungThe long term solution here is to make the cart smart enough to recognize these situations. For now, I'll give you instructions for a hacky fix:
0x19dE91Af973F404EDF5B4c093983a7c6E3EC8ccE (this one received a double donation)0x85cab7143ff3c01b93e88f5b017692374bb939c20xfDaaE0c5a7A56C8265b9f86cF8cd934A494E37330xA19FCDaD77C1F0fd184689aca88BabCF680103470xA3f83326cE7BD51fB6FDFC3D1c7fA76Dc9d52aee0x4BF66E52f3009Cd138e48f142D476610371600010x9C2D119C158Db2A02621bbD44770b0715b1dfCc6In either case @owocki you might want to update the Contributions to fix the amounts (Option 1) or remove duplicates (Option 2), since they won't be automatically updated.
@samajammin I know this is a weird solution, so please feel free to message me on Telegram @msolomon4 or Twitter @msolomon4 if you me to help you complete checkout or run in to further issues when doing the above steps
Thanks @mds1! Went with option 1. I believe I'm all set here - could you please confirm my remaining contributions went through? If so, I think we can call this a success & close the issue.
Confirmed the contributions went through so you are all set!
@mds1 i just received an email about incomplete checkout: 
Are you certain all of my contributions have gone through? If so there may be errors around your email alert logic. Thanks.
Thanks for flagging! Since in your case we resolved this by changing contribution amounts, the backend was looking for a different amount than the amount actually sent, which is why you got the email. We'll resolve that manually