use tipset cid instead of key for posterity.

This commit is contained in:
vyzo 2023-03-11 17:12:28 +02:00
parent a0e95ebe97
commit cc83a7cd35

View File

@ -4,7 +4,6 @@ import (
"context" "context"
"github.com/filecoin-project/go-state-types/abi" "github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lotus/chain/types"
"github.com/ipfs/go-cid" "github.com/ipfs/go-cid"
) )
@ -15,7 +14,7 @@ type MsgInfo struct {
// the epoch whre this message was executed // the epoch whre this message was executed
Epoch abi.ChainEpoch Epoch abi.ChainEpoch
// the tipset where this messages executed // the tipset where this messages executed
Tipset types.TipSetKey Tipset cid.Cid
// the first block in the tipset where the message was executed // the first block in the tipset where the message was executed
Block cid.Cid Block cid.Cid
// the index of the message in the block // the index of the message in the block