lotus/chain/actors/adt/store.go

19 lines
306 B
Go
Raw Normal View History

package adt
import (
"context"
cbor "github.com/ipfs/go-ipld-cbor"
2022-06-14 15:00:51 +00:00
"github.com/filecoin-project/specs-actors/actors/util/adt"
)
type Store interface {
Context() context.Context
cbor.IpldStore
}
func WrapStore(ctx context.Context, store cbor.IpldStore) Store {
return adt.WrapStore(ctx, store)
}