Skip to content

Commit 756f640

Browse files
committed
core/state: add TODO
1 parent 5b57857 commit 756f640

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/state/database_history.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ import (
3232

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

0 commit comments

Comments
 (0)