19 lines
306 B
Go
19 lines
306 B
Go
package adt
|
|
|
|
import (
|
|
"context"
|
|
|
|
cbor "github.com/ipfs/go-ipld-cbor"
|
|
|
|
"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)
|
|
}
|