From e718857b2fece034d2c5aa280ffabb939943393e Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 13 Mar 2023 12:14:30 +0200 Subject: [PATCH] enhance comment about lookup cid semantics --- chain/index/interface.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chain/index/interface.go b/chain/index/interface.go index ff46ecad7..8907dc09d 100644 --- a/chain/index/interface.go +++ b/chain/index/interface.go @@ -25,6 +25,8 @@ type MsgInfo struct { // MsgIndex is the interface to the message index type MsgIndex interface { // GetMsgInfo retrieves the message metadata through the index. + // The lookup is done using the onchain message Cid; that is the signed message Cid + // for SECP messages and unsigned message Cid for BLS messages. GetMsgInfo(ctx context.Context, m cid.Cid) (MsgInfo, error) // Close closes the index Close() error