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
{{ message }}
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
strings for meta-information such as 'meta', 'detail:' + ,
buffers in merkle-patricia-tree
I've noticed weird behavior while working with on the persistency feature for ethereumjs-testrpc with leveldown - the persistent storage adapter for levelup: levelup uses red-black-trees to store data with a custom comparison function, if now different key types are used (I could observe this with Buffer and non Buffer keys) data is saved to a different location from where it is looked up for which results in saving data to a key and don't be able to get it again, leading to errors like this: trufflesuite/ganache-cli-archive#81 .
This is (temporary?) resolved by switching to a consistent key type (I refactored ethereumjs-blockchain to work with Buffer keys only).
Should I create a PR for this?
The text was updated successfully, but these errors were encountered:
Currently different key types are used:
I've noticed weird behavior while working with on the persistency feature for ethereumjs-testrpc with leveldown - the persistent storage adapter for levelup: levelup uses red-black-trees to store data with a custom comparison function, if now different key types are used (I could observe this with Buffer and non Buffer keys) data is saved to a different location from where it is looked up for which results in saving data to a key and don't be able to get it again, leading to errors like this: trufflesuite/ganache-cli-archive#81 .
This is (temporary?) resolved by switching to a consistent key type (I refactored ethereumjs-blockchain to work with Buffer keys only).
Should I create a PR for this?
The text was updated successfully, but these errors were encountered: