core/state: add TODO

This commit is contained in:
Gary Rong 2025-06-24 21:37:33 +08:00
parent 5b57857ccd
commit 756f640639

View file

@ -32,6 +32,10 @@ import (
// historicReader wraps a historical state reader defined in path database,
// providing historic state serving over the path scheme.
//
// TODO(rjl493456442): historicReader is not thread-safe and does not fully
// comply with the StateReader interface requirements, needs to be fixed.
// Currently, it is only used in a non-concurrent context, so it is safe for now.
type historicReader struct {
reader *pathdb.HistoricalStateReader
}