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
This will fail when trying to delete with this error:
Error: Uint8Array expected
at bytesToHex (.../node_modules/@noble/hashes/src/utils.ts:49:30)
at .../node_modules/@ethereumjs/trie/src/db/checkpoint.ts:247:36
at Array.map (<anonymous>)
at CheckpointDB.batch (.../node_modules/@ethereumjs/trie/src/db/checkpoint.ts:240:36)
at Trie.saveStack (.../node_modules/@ethereumjs/trie/src/trie.ts:1079:20)
at Trie._deleteNode (.../node_modules/@ethereumjs/trie/src/trie.ts:1033:18)
Switching to useNodePruning: false fixes this issue.
Not sure if expected or not.
The text was updated successfully, but these errors were encountered:
The issue has been addressed by #3378, which should be reviewed and merged in shortly. Thanks a lot for uncovering it and coming up with a straightforward reproduction test case. We will be adding your test case to the monorepo as well.
Hi @bogdan-rosianu, just to let you know: we have a very very late release round this time - since we had (close to) no release pressure - so that issues like this only get in now (or: in 1-2 weeks on release). 😬
package.json
:"@ethereumjs/trie": "^6.2.0",
I have isolated the issue within an unit test:
This will fail when trying to delete with this error:
Switching to
useNodePruning: false
fixes this issue.Not sure if expected or not.
The text was updated successfully, but these errors were encountered: