Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make the empty array CID const and export it (filecoin-project#668)
Otherwise, we'll perform a hash in WASM when we first dereference (max once per call) which is just wasteful. This also fixes the integration tests to use the "correct" empty object. Previously, they were using `()` which mapped to null, not `[]`.
- Loading branch information