This commit is contained in:
vyzo 2023-03-12 15:30:05 +02:00 committed by Maciej Witowski
parent f76babceec
commit f82a94220d
3 changed files with 9 additions and 6 deletions

View File

@ -4,8 +4,9 @@ import (
"context" "context"
"errors" "errors"
"github.com/filecoin-project/go-state-types/abi"
"github.com/ipfs/go-cid" "github.com/ipfs/go-cid"
"github.com/filecoin-project/go-state-types/abi"
) )
var ErrNotFound = errors.New("message not found") var ErrNotFound = errors.New("message not found")

View File

@ -10,14 +10,15 @@ import (
"sync" "sync"
"time" "time"
"github.com/ipfs/go-cid"
logging "github.com/ipfs/go-log/v2" logging "github.com/ipfs/go-log/v2"
_ "github.com/mattn/go-sqlite3" _ "github.com/mattn/go-sqlite3"
"golang.org/x/xerrors" "golang.org/x/xerrors"
"github.com/filecoin-project/go-state-types/abi" "github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lotus/chain/store" "github.com/filecoin-project/lotus/chain/store"
"github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/chain/types"
"github.com/ipfs/go-cid"
) )
var log = logging.Logger("msgindex") var log = logging.Logger("msgindex")

View File

@ -8,14 +8,15 @@ import (
"testing" "testing"
"time" "time"
"github.com/ipfs/go-cid"
"github.com/ipfs/go-libipfs/blocks"
"github.com/stretchr/testify/require"
"github.com/filecoin-project/go-address" "github.com/filecoin-project/go-address"
"github.com/filecoin-project/lotus/chain/store" "github.com/filecoin-project/lotus/chain/store"
"github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/chain/types"
"github.com/filecoin-project/lotus/chain/types/mock" "github.com/filecoin-project/lotus/chain/types/mock"
"github.com/ipfs/go-cid"
"github.com/ipfs/go-libipfs/blocks"
"github.com/stretchr/testify/require"
) )
func TestBasicMsgIndex(t *testing.T) { func TestBasicMsgIndex(t *testing.T) {