You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it's worth re-trying the fetch runtime public key function? Or having some other way of safely erroring.
TypeError: Cannot read properties of undefined (reading 'key')
at /home/runner/work/sapphire-paratime/sapphire-paratime/clients/js/src/cipher.ts:294:30
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/sapphire-paratime/sapphire-paratime/clients/js/lib/cjs/cipher.cjs:28:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The text was updated successfully, but these errors were encountered:
CedarMist
changed the title
Occasional error: TypeError: Cannot read properties of undefined (reading 'key')
client/js: Occasional error: TypeError: Cannot read properties of undefined (reading 'key')
Jul 5, 2023
Yup it does, I encounter it sometimes in the browser when using sapphire-dev, but haven't narrowed down exactly what happens. The worst thing is it's intermittent, so I need to have a debug mode version of sapphire-paratime client that will log more information about the requests being made and the responses etc. so I can determine if there's a strategy to avoid this in future or the origin of the problem.
This happened when merging from a branch into main.
The tests completed OK on the branch, but after merging into main it fails.
See: https://github.com/oasisprotocol/sapphire-paratime/actions/runs/5465401574/attempts/1
The second attempt succeeds.
Maybe it's worth re-trying the fetch runtime public key function? Or having some other way of safely erroring.
The text was updated successfully, but these errors were encountered: