Open ferostabio opened 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.
UPD on other points:
This often occurs when we trying to change immutable properties (props, freezed, set-method-blocked, etc), morelikely in sdk
[ ] TypeError: Cannot read properties of undefined (reading 'providerName')
[ ] SecurityError: Attempt to use history.replaceState() more than 100 times per 30 seconds
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.
[ ] TypeError Function.defineProperty(): ‘defineProperty' on proxy: trap returned falsish for property 'request'
[x] ChunkLoadError
We were getting this one a lot a couple of weeks ago. Not sure why (https://rollbar.com/blog/javascript-chunk-load-error/#)