Fujicracy / fuji-v2

Cross-chain money market aggregator
https://fuji-v2-frontend.vercel.app
15 stars 10 forks source link

Sentry issues #727

Open ferostabio opened 8 months ago

ferostabio commented 8 months ago

Could mean a loop between two pages, I believe it happened on mobile (for sure) and firefox desktop and both times between my positions and lend.

Zerion is a wallet (https://zerion.io/) and whatever the reason, it seems its crashing the app.

We were getting this one a lot a couple of weeks ago. Not sure why (https://rollbar.com/blog/javascript-chunk-load-error/#)

ferostabio commented 8 months ago

@brozorec @hovoh/ethcall/lib/call.js is sometimes failing when doing tryAll. Sentry reports Cannot read properties of undefined (reading 'success')". When we look at the code, it does the following:

for (let i = 0; i < callCount; i++) {
    const name = calls[i].name;
    const outputs = calls[i].outputs;
    const result = response[i];
    if (!result.success) {
      callResult.push(null);
    }
    ...

If result is undefined, result.success will fail. Checked and there has been no recent updates, we should report the issue.

NikolaiYurchenko commented 8 months ago

UPD on other points:

  1. TypeError Function.defineProperty(): ‘defineProperty' on proxy: trap returned falsish for property 'request'

This often occurs when we trying to change immutable properties (props, freezed, set-method-blocked, etc), morelikely in sdk

  1. Zerion - cant log in at all with this wallet by app
  2. history.replaceState() - tried on desktop safari and firefox, not getting an error yet, will try to use mobile
  3. providerName - need more info, cant even find a place where we are using it as property of an object