Calling zkEvmClient.isDepositClaimable() appears to randomly error out with Cannot read properties of undefined (reading 'abi'). It works most of the time, but when it fails it appears to do so for hours at a time.
I believe the error is being thrown here in abi_manager.ts.
This call fails in the same process where it has worked many times before, so I do not believe it is a client init error. However, restarting the process seems to work 🤔
Describe the bug
Calling
zkEvmClient.isDepositClaimable()
appears to randomly error out withCannot read properties of undefined (reading 'abi')
. It works most of the time, but when it fails it appears to do so for hours at a time.I believe the error is being thrown here in
abi_manager.ts
.This call fails in the same process where it has worked many times before, so I do not believe it is a client init error. However, restarting the process seems to work 🤔
Versions
@maticnetwork/maticjs-ethers@1.0.3
@maticnetwork/maticjs@3.7.7
Trace
Client init code
Full code here.
Example Claim
The following message was exhibiting this behavior until it was manually claimed: