Closed gtsonevv closed 3 months ago
There is a bugfix related to this bug in the latest version of near-api-js(3.0.2), updating the near-api-js dependency in near-workspaces-js could potentially fix this issue.
It has been verified by our team, updating to the latest version of near-api-js will fix this issue.
@gtsonevv when I update near-api-js to v3.0.3,the ci task failed with Error [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory
: https://github.com/near/near-workspaces-js/actions/runs/8159537274/job/22304059459?pr=238. Is there any changes in near-api-js
will increase the memory usage?
Hey @fospring,
borsh.deserialize(schema, StatusMessage, data);
and
borsh.serialize(schema, statusMessage);
from 02.patch-state.ava.ts
seem to be causing this issue but I'm still not sure why.
Hey @gtsonevv, it seems no for this reason, I just skipped this test
TypeError: unexpected type, use Uint8Array
when I try to initialize a Worker in 'jsdom' environment with jest.my code:
jest.config.js:
Error: