Closed dahlia closed 1 year ago
Since fragmented states were introduced:
TrieStateStore.PruneStates() method has not worked well. Note that there's even a comment addressing this:
TrieStateStore.PruneStates()
https://github.com/planetarium/libplanet/blob/bf2a321af65cd70dda9243e6a8e888a217223928/Libplanet/Store/TrieStateStore.cs#L41-L43
There are two problems:
ArgumentOutOfRangeException
IStateStore
The former one should be published as a hotfix. The latter one would accompany API changes, so it should be published in the next minor release.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
Since fragmented states were introduced:
TrieStateStore.PruneStates()
method has not worked well. Note that there's even a comment addressing this:https://github.com/planetarium/libplanet/blob/bf2a321af65cd70dda9243e6a8e888a217223928/Libplanet/Store/TrieStateStore.cs#L41-L43
There are two problems:
ArgumentOutOfRangeException
because nowIStateStore
has keys other than SHA-256 digest.The former one should be published as a hotfix. The latter one would accompany API changes, so it should be published in the next minor release.