oddsdk / ts-odd

An SDK for building apps with decentralized identity and storage.
https://odd.dev/
Apache License 2.0
178 stars 24 forks source link

Re-enable WASM tests #429

Closed icidasset closed 1 year ago

icidasset commented 2 years ago

WASM tests are currently skipped because of a garbage-collection issue.

matheus23 commented 1 year ago

The error message specifically is:

     Uncaught Error: recursive use of an object detected which would lead to unsafe aliasing in rust
      at imports.wbg.__wbindgen_throw (file:///Users/icid/Work/webnative/node_modules/wnfs/wasm_wnfs.js:1075:15)
      at wasm://wasm/001a560e:wasm-function[643]:0x57ed4
      at wasm://wasm/001a560e:wasm-function[642]:0x57ec9
      at wasm://wasm/001a560e:wasm-function[342]:0x4c706
      at file:///Users/icid/Work/webnative/node_modules/wnfs/wasm_wnfs.js:288:74
      at FinalizationRegistry.cleanupSome (<anonymous>)