ChainIndexer: GetMsgInfo should return ErrNotFound when not found
rvagg opened this issue · 0 comments
rvagg commented
2024-11-06T21:13:14.735+1100 WARN statemgr stmgr/searchwait.go:175 error searching message index: error looking up message in index: sql: no rows in result set
Lots of this kind of thing in the logs, but it shouldn't be logged:
lotus/chain/stmgr/searchwait.go
Lines 171 to 176 in 8865a9d
GetMsgInfo
should return an ErrNotFound
when there are no rows, here:
Lines 51 to 54 in 8865a9d
Needs tests as well.