Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump version to v1.6.0-rc1 #4929

Merged
merged 121 commits into from
Jun 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
ff5693f
chore: dep: update ffi & go.mod (#4762)
simlecode Feb 11, 2022
1297698
imp fvm
simlecode Feb 14, 2022
c4f7256
reward message add gas limit
simlecode Feb 16, 2022
c68d1cc
upgrade ffi
simlecode Feb 18, 2022
e1038c6
imp VerifyConsensusFault
simlecode Feb 21, 2022
ce5b1c2
remove method: SetCurrentEpoch
simlecode Feb 28, 2022
a3cc36e
time message execution
simlecode Feb 28, 2022
2fb9301
add context
simlecode Feb 28, 2022
b9e2e8f
Use either venus VM or FVM consistently
simlecode Feb 28, 2022
a157625
support network 15
simlecode Mar 14, 2022
ce9a1b2
fix lint
simlecode Mar 15, 2022
33dc557
Update FFI: fix cargo.lock
simlecode Mar 16, 2022
c6dba83
rename vm.VMI to vm.Interface
simlecode Mar 16, 2022
3f0f783
Rename the Venus VM to LegacyVM
simlecode Mar 16, 2022
a480be2
update ffi
simlecode Mar 17, 2022
478706b
remove used code
simlecode Mar 17, 2022
8f1f318
Merge branch 'master' into feat/fvm
simlecode Mar 23, 2022
2507ff5
update ffi
simlecode Mar 27, 2022
cb07656
update ffi with actor v7.1.0
simlecode Mar 30, 2022
91d9098
update version to v1.3.0-rc1
simlecode Mar 30, 2022
3a2a46d
fix test
simlecode Mar 31, 2022
72f858a
Fix the epoch used for gas in the message pool & validation
simlecode Mar 24, 2022
347fa33
Support paych funding (a.k.a. fast paid retrieval)
simlecode Mar 24, 2022
d740a7e
VM: Refactor pricelist to be based on network versions
simlecode Mar 28, 2022
4bda144
implement 'net ping' command
simlecode Mar 29, 2022
a69c86d
fix paych test
simlecode Apr 4, 2022
5417dd3
implement event observer deregister method
simlecode Apr 7, 2022
1c4de4e
FvmExtern add network version
simlecode Apr 7, 2022
c493ee2
add finality check for consensus faults
simlecode Apr 8, 2022
8915922
update ffi
simlecode Apr 8, 2022
55740d1
update version to v1.3.0-rc2
simlecode Apr 8, 2022
5d6e757
add 1475 bootstrapper
simlecode Apr 19, 2022
290ae0f
FVM: Support exectraces
simlecode Apr 20, 2022
be075e0
Feat: API: Implement StateLookupRobustAddress
simlecode Apr 24, 2022
f5d96c4
new method for import published deal (#4832)
hunjixin Mar 30, 2022
86341c8
MarketAPI: improve AssignUnPackedDeals API (#4849)
diwufeiwen Apr 4, 2022
cee245e
Fix: compile error caused by unreachable package (#4854)
zl03jsj Apr 20, 2022
694d174
fix: api: Make MarketListDeals and DealsList return pointers for Mark…
simlecode Apr 25, 2022
c117e88
move fvm.go to single package
simlecode Apr 26, 2022
a42b2ac
generate v8 actor & add fork upgrade field
simlecode Apr 26, 2022
451bde8
builtin actor bundles
simlecode Apr 26, 2022
b58b7f7
update actors
simlecode Apr 26, 2022
89b21bd
use v8 DealProposal
simlecode Apr 26, 2022
353e086
move NetworkType to venus-shared
simlecode Apr 29, 2022
c7d1b37
add builtin actors builder
simlecode Apr 29, 2022
17c1325
vm: add actor error backtraces to FVM
simlecode May 5, 2022
eaea1f2
reset interopnet
simlecode May 5, 2022
89dafcc
fetch testing-fwp bundle
simlecode May 5, 2022
1b025a8
fix builtin actors
simlecode May 5, 2022
213284c
update interopnet.car
simlecode May 6, 2022
a5553d8
fix builtin actors
simlecode May 6, 2022
ff0ca97
update StatApplied when fvm apply message
simlecode May 9, 2022
2764686
propagate gas outputs from fvm + integrate safer ffi
simlecode May 13, 2022
fe3e425
Gas estimation: Overestimate based on (actor, method) tuples
simlecode May 13, 2022
ac6cc97
dynamic loading of builtin actor bundles
simlecode May 16, 2022
f7b5d2e
reset interopnet
simlecode May 16, 2022
c7474a2
fix: mpool: avoid deadlock on unsubscribe
simlecode May 16, 2022
27f8108
update go.mod
simlecode May 16, 2022
08f3fa1
fix builtin actors bundle
simlecode May 18, 2022
e23c57e
Use new go-state-types state accessors
simlecode May 18, 2022
c12fcb4
fix: genesis: only sign preseal deals after v16
simlecode May 19, 2022
a3d274f
add the network name to the bundle key in the datastore
simlecode May 19, 2022
7347290
Reset interopnet
simlecode May 19, 2022
c1fdf1e
Merge branch 'master' into feat/fvm
simlecode May 20, 2022
f75d9af
build: add interopnet info
simlecode May 20, 2022
0d47f73
venus-shared: update builtin-actors to dev/20220520
simlecode May 23, 2022
7e728bf
refactor: use embed instead of go-bindata
simlecode May 23, 2022
3f9880c
config: migrate config
simlecode May 23, 2022
b0c5aac
fix: vm: support raw blocks in chain export
simlecode May 24, 2022
ed16417
feat: vm: drop nv14 support from the FVM
simlecode May 25, 2022
d540317
fix: vm: always set the root message in execution traces in the FVM
simlecode May 25, 2022
6106364
fix: Update builtin-actors to dev/20220524
simlecode May 25, 2022
1ec6433
fix: Ensure v8 bundle is loaded during migration
simlecode May 25, 2022
c9fa14e
build: Reset interopnet
simlecode May 25, 2022
e7dee20
fix: correctly handle null blocks when detecting an expensive fork
simlecode May 25, 2022
603776a
fix: update LatestVersion to 8
simlecode May 26, 2022
609bba0
upgrade go-fil-market
zl03jsj May 30, 2022
63b9ab9
chore: dep: update go-fil-market
simlecode May 30, 2022
136043b
Fix: drand: calculation of round from Filecoin epochs
simlecode May 27, 2022
3f83003
feat: build: Check for manifest CID while loading bundle
simlecode May 27, 2022
07b4e4c
build: Reset interopnet
simlecode May 27, 2022
8a4d45e
cmd: print manifest CID from a car file
simlecode May 27, 2022
a79f9e0
build: Add disable flag for Skyr upgrade
simlecode May 30, 2022
6c5d7ba
fvm: fail if implicit message fails
simlecode May 30, 2022
cd7b64d
chore: update ffi
simlecode May 30, 2022
c0a9647
chore: update builtin actor to dev/20220527
simlecode May 30, 2022
e0d6a06
build: Reset interopnet
simlecode May 31, 2022
5789b2f
chore: bundle: butterfly manifest cid & epoch
simlecode May 31, 2022
4dddd18
cmd: add cli to get the actor cid forthe current network version
simlecode May 31, 2022
66baf2c
fix: move actor key to a const array
simlecode May 31, 2022
8e7275c
revert: VM: Refactor pricelist to be based on network versions
simlecode May 31, 2022
e9a371b
fix: fill trace info
simlecode Jun 1, 2022
c19927a
chore: upgrade venus-auth
simlecode Jun 1, 2022
387f603
fix: fvm: remove unused nv field
simlecode Jun 1, 2022
5a7a7f2
ci: fix test
simlecode May 30, 2022
36fe4e1
ci: fix lint
simlecode Jun 6, 2022
a371f30
chore: vm: Rename tracing envvar to VENUS_VM_ENABLE_TRACING
simlecode Jun 6, 2022
43f67ec
fix: Cleanup LoadBundle
simlecode Jun 6, 2022
ff024c9
fix: build: use the genesis network version when creating a network
simlecode Jun 6, 2022
f9008fc
chore: upgrade deps
simlecode Jun 7, 2022
497739a
ci: fix test and fix lint
simlecode Jun 7, 2022
946e45f
build: bump version to v1.6.0-rc1
simlecode Jun 7, 2022
be0ab7a
chore: tidy go.mod
simlecode Jun 8, 2022
a4ebe42
chore: rename RepoPath to BundleRepoPath
simlecode Jun 8, 2022
b9b3c6f
Fix: state: Set exec trace subcalls to nil when appropriate
simlecode Jun 8, 2022
38c7d0e
ci: lint: use fmt.Errorf
simlecode Jun 7, 2022
7a2329b
fix: not set BUNDLE_REPO_PATH
simlecode Jun 9, 2022
ea599c4
refactor: rename VENUS_USE_FVM_EXPERIMENTAL
simlecode Jun 10, 2022
5cee595
fix: build: fix 2k build params
simlecode Jun 13, 2022
51eca16
fix: print detailed log when executing a message failed
simlecode Jun 13, 2022
ad37f66
refactor: actor bundling system
simlecode Jun 13, 2022
d84db1f
fix: fix pack script and add calibrationnet to bundle
simlecode Jun 14, 2022
295af7e
fix: really make macos compatible
simlecode Jun 14, 2022
3e5dc6d
chore: update deps
simlecode Jun 14, 2022
7539c5f
chore: upgrade to 8.0.0-rc.1 bundle & manifest
simlecode Jun 14, 2022
4dfc306
chore: update calib v16 skyr upgrade
simlecode Jun 14, 2022
4ba9561
chore: mod tidy
simlecode Jun 15, 2022
0647d0d
Merge branch 'master' into prep/v1.6.0-rc2
simlecode Jun 15, 2022
a0eb0a5
fix: install goimports & make compatible-all
simlecode Jun 15, 2022
677fb92
fix: fix some issues (#4962)
simlecode Jun 23, 2022
a8b6579
fix: remove goimports (#4963)
simlecode Jun 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .github/workflows/baisc_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ jobs:
sudo apt-get update
sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y && sudo apt upgrade -y

- name: dep
env:
GOPROXY: "https://proxy.golang.org,direct"
GO111MODULE: "on"
run: |
make deps

- name: Build
env:
GOPROXY: "https://proxy.golang.org,direct"
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ coverprofile.html
*.out
*.so

actor-bundles-v8.*

fixtures/test
!fixtures/test/.gitkeep
fixtures/live
Expand Down
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ build-dep/.update-modules: build-dep;
git submodule update --init --recursive
touch $@

gen-all: cborgen gogen inline-gen api-gen

gen-asset:
go-bindata -pkg=asset -o ./fixtures/asset/asset.go ./fixtures/_assets/car/ ./fixtures/_assets/proof-params/ ./fixtures/_assets/arch-diagram.monopic
gofmt -s -l -w ./fixtures/asset/asset.go
gen-all: cborgen gogen inline-gen api-gen bundle-gen

### devtool ###
cborgen:
Expand All @@ -61,6 +57,9 @@ inline-gen:
test-venus-shared:
cd venus-shared && go test -covermode=set ./...

bundle-gen:
cd venus-devtool && go run ./bundle-gen/*.go --dst ./../venus-shared/builtin-actors/builtin_actors_gen.go

api-gen:
cd ./venus-devtool/ && go run ./api-gen/ proxy
cd ./venus-devtool/ && go run ./api-gen/ client
Expand Down Expand Up @@ -115,8 +114,6 @@ build: $(BUILD_DEPS)
go build -o ./venus $(GOFLAGS) .




.PHONY: docker


Expand Down
12 changes: 8 additions & 4 deletions app/node/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ package node

import (
"context"
"fmt"
"time"

logging "github.com/ipfs/go-log"
"github.com/libp2p/go-libp2p"
"github.com/pkg/errors"
"golang.org/x/xerrors"

"github.com/ipfs-force-community/metrics/ratelimit"

"github.com/filecoin-project/venus/app/submodule/blockstore"
"github.com/filecoin-project/venus/app/submodule/chain"
Expand All @@ -33,7 +31,9 @@ import (
"github.com/filecoin-project/venus/pkg/repo"
"github.com/filecoin-project/venus/pkg/util/ffiwrapper"
"github.com/filecoin-project/venus/pkg/util/ffiwrapper/impl"
builtin_actors "github.com/filecoin-project/venus/venus-shared/builtin-actors"
"github.com/filecoin-project/venus/venus-shared/types"
"github.com/ipfs-force-community/metrics/ratelimit"
)

// Builder is a helper to aid in the construction of a filecoin node.
Expand Down Expand Up @@ -102,6 +102,10 @@ func (b *Builder) build(ctx context.Context) (*Node, error) {
chainClock: b.chainClock,
}

if err := builtin_actors.SetNetworkBundle(b.repo.Config().NetworkParams.NetworkType); err != nil {
return nil, err
}

//modules
nd.circulatiingSupplyCalculator = chain2.NewCirculatingSupplyCalculator(b.repo.Datastore(), b.genBlk.ParentStateRoot, b.repo.Config().NetworkParams.ForkUpgradeParam)

Expand Down Expand Up @@ -198,7 +202,7 @@ func (b *Builder) build(ctx context.Context) (*Node, error) {
if nd.remoteAuth != nil && cfg.RateLimitCfg.Enable {
if ratelimiter, err = ratelimit.NewRateLimitHandler(cfg.RateLimitCfg.Endpoint,
nil, &jwtauth.ValueFromCtx{}, nd.remoteAuth, logging.Logger("rate-limit")); err != nil {
return nil, xerrors.Errorf("request rate-limit is enabled, but create rate-limit handler failed:%w", err)
return nil, fmt.Errorf("request rate-limit is enabled, but create rate-limit handler failed:%w", err)
}
_ = logging.SetLogLevel("rate-limit", "warn")
}
Expand Down
3 changes: 1 addition & 2 deletions app/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ func (node *Node) RunRPCAndWait(ctx context.Context, rootCmdDaemon *cmds.Command
return err
}

authMux := jwtclient.NewAuthMux(localVerifer,
node.remoteAuth, mux, logging.Logger("venus-auth"))
authMux := jwtclient.NewAuthMux(localVerifer, node.remoteAuth, mux)
authMux.TrustHandle("/debug/pprof/", http.DefaultServeMux)

// todo:
Expand Down
6 changes: 3 additions & 3 deletions app/node/rpc.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package node

import (
"errors"
"reflect"

"github.com/filecoin-project/go-jsonrpc"
v0api "github.com/filecoin-project/venus/venus-shared/api/chain/v0"
v1api "github.com/filecoin-project/venus/venus-shared/api/chain/v1"
"github.com/filecoin-project/venus/venus-shared/api/permission"
"github.com/ipfs-force-community/metrics/ratelimit"
"golang.org/x/xerrors"
)

type RPCService interface {
Expand Down Expand Up @@ -43,7 +43,7 @@ func (builder *RPCBuilder) AddService(service RPCService) error {
serviceV := reflect.ValueOf(service)
apiMethod := serviceV.MethodByName(methodName)
if !apiMethod.IsValid() {
return xerrors.New("expect API function")
return errors.New("expect API function")
}

apiImpls := apiMethod.Call([]reflect.Value{})
Expand All @@ -68,7 +68,7 @@ func (builder *RPCBuilder) AddService(service RPCService) error {
serviceV = reflect.ValueOf(service)
apiMethod = serviceV.MethodByName(methodName)
if !apiMethod.IsValid() {
return xerrors.New("expect API function")
return errors.New("expect API function")
}

apiImpls = apiMethod.Call([]reflect.Value{})
Expand Down
6 changes: 3 additions & 3 deletions app/node/test/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
// ChainSeed is a generalized struct for configuring node
type ChainSeed struct {
info *gengen.RenderedGenInfo
bstore blockstore.Blockstore
bstore blockstoreutil.Blockstore
}

// MakeChainSeed creates a chain seed struct (see above) from a given
Expand All @@ -38,7 +38,7 @@ func MakeChainSeed(t *testing.T, cfg *gengen.GenesisCfg) *ChainSeed {
t.Helper()

mds := ds.NewMapDatastore()
bstore := blockstore.NewBlockstore(mds)
bstore := blockstoreutil.Adapt(blockstore.NewBlockstore(mds))
info, err := gengen.GenGen(context.TODO(), cfg, bstore)
require.NoError(t, err)
return &ChainSeed{
Expand All @@ -48,7 +48,7 @@ func MakeChainSeed(t *testing.T, cfg *gengen.GenesisCfg) *ChainSeed {
}

// GenesisInitFunc is a th.GenesisInitFunc using the chain seed
func (cs *ChainSeed) GenesisInitFunc(cst cbor.IpldStore, bs blockstore.Blockstore) (*types.BlockHeader, error) {
func (cs *ChainSeed) GenesisInitFunc(cst cbor.IpldStore, bs blockstoreutil.Blockstore) (*types.BlockHeader, error) {
err := blockstoreutil.CopyBlockstore(context.TODO(), cs.bstore, bs)
if err != nil {
return nil, err
Expand Down
4 changes: 2 additions & 2 deletions app/submodule/blockstore/blockstore_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package blockstore

import (
"context"
"fmt"
"sync"

"github.com/filecoin-project/venus/venus-shared/types"
Expand All @@ -11,7 +12,6 @@ import (
offline "github.com/ipfs/go-ipfs-exchange-offline"
ipld "github.com/ipfs/go-ipld-format"
"github.com/ipfs/go-merkledag"
"golang.org/x/xerrors"

v1api "github.com/filecoin-project/venus/venus-shared/api/chain/v1"
)
Expand All @@ -25,7 +25,7 @@ type blockstoreAPI struct { //nolint
func (blockstoreAPI *blockstoreAPI) ChainReadObj(ctx context.Context, ocid cid.Cid) ([]byte, error) {
blk, err := blockstoreAPI.blockstore.Blockstore.Get(ctx, ocid)
if err != nil {
return nil, xerrors.Errorf("blockstore get: %w", err)
return nil, fmt.Errorf("blockstore get: %w", err)
}

return blk.RawData(), nil
Expand Down
4 changes: 2 additions & 2 deletions app/submodule/blockstore/blockstore_submodule.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"

"github.com/filecoin-project/venus/pkg/repo"
"github.com/filecoin-project/venus/pkg/util/blockstoreutil"
v0api "github.com/filecoin-project/venus/venus-shared/api/chain/v0"
bstore "github.com/ipfs/go-ipfs-blockstore"
)

// BlockstoreSubmodule enhances the `Node` with local key/value storing capabilities.
Expand All @@ -14,7 +14,7 @@ import (
// - `cborStore` is used for chain state and shared with piece data exchange for deals at the moment.
type BlockstoreSubmodule struct { //nolint
// blockstore is the un-networked blocks interface
Blockstore bstore.Blockstore
Blockstore blockstoreutil.Blockstore
}

type blockstoreRepo interface {
Expand Down
4 changes: 2 additions & 2 deletions app/submodule/chain/account_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package chain

import (
"context"
"fmt"

v1api "github.com/filecoin-project/venus/venus-shared/api/chain/v1"
"github.com/filecoin-project/venus/venus-shared/types"

"github.com/filecoin-project/go-address"
"golang.org/x/xerrors"
)

var _ v1api.IAccount = &accountAPI{}
Expand All @@ -25,7 +25,7 @@ func NewAccountAPI(chain *ChainSubmodule) v1api.IAccount {
func (accountAPI *accountAPI) StateAccountKey(ctx context.Context, addr address.Address, tsk types.TipSetKey) (address.Address, error) {
ts, err := accountAPI.chain.ChainReader.GetTipSet(ctx, tsk)
if err != nil {
return address.Undef, xerrors.Errorf("loading tipset %s: %w", tsk, err)
return address.Undef, fmt.Errorf("loading tipset %s: %w", tsk, err)
}
return accountAPI.chain.Stmgr.ResolveToKeyAddress(ctx, addr, ts)
}
17 changes: 8 additions & 9 deletions app/submodule/chain/apibstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package chain

import (
"context"
"errors"

"github.com/filecoin-project/venus/pkg/util/blockstoreutil"
blocks "github.com/ipfs/go-block-format"
"github.com/ipfs/go-cid"
blockstore "github.com/ipfs/go-ipfs-blockstore"
"golang.org/x/xerrors"
)

type ChainIO interface { //nolint
Expand All @@ -19,15 +20,13 @@ type apiBStore struct {
}

// NewAPIBlockstore create new blockstore api
func NewAPIBlockstore(cio ChainIO) blockstore.Blockstore {
return &apiBStore{
api: cio,
}
func NewAPIBlockstore(cio ChainIO) blockstoreutil.Blockstore {
return blockstoreutil.Adapt(&apiBStore{api: cio})
}

// DeleteBlock implements Blockstore.DeleteBlock.
func (a *apiBStore) DeleteBlock(context.Context, cid.Cid) error {
return xerrors.New("not supported")
return errors.New("not supported")
}

// Has implements Blockstore.Has.
Expand Down Expand Up @@ -55,17 +54,17 @@ func (a *apiBStore) GetSize(ctx context.Context, c cid.Cid) (int, error) {

// Put implements Blockstore.Put.
func (a *apiBStore) Put(context.Context, blocks.Block) error {
return xerrors.New("not supported")
return errors.New("not supported")
}

// PutMany implements Blockstore.PutMany.
func (a *apiBStore) PutMany(context.Context, []blocks.Block) error {
return xerrors.New("not supported")
return errors.New("not supported")
}

// AllKeysChan implements Blockstore.AllKeysChan.
func (a *apiBStore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
return nil, xerrors.New("not supported")
return nil, errors.New("not supported")
}

// HashOnRead implements Blockstore.HashOnRead.
Expand Down
63 changes: 0 additions & 63 deletions app/submodule/chain/beacon_api.go

This file was deleted.

2 changes: 1 addition & 1 deletion app/submodule/chain/chain_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
type chainAPI struct { // nolint: golint
v1api.IAccount
v1api.IActor
v1api.IBeacon
v1api.IMinerState
v1api.IChainInfo
v1api.IBeacon
}

var _ v1api.IChain = &chainAPI{}
3 changes: 1 addition & 2 deletions app/submodule/chain/chain_submodule.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func NewChainSubmodule(ctx context.Context,
}
faultChecker := consensusfault.NewFaultChecker(chainStore, fork)
syscalls := vmsupport.NewSyscalls(faultChecker, config.Verifier())
processor := consensus.NewDefaultProcessor(syscalls)
processor := consensus.NewDefaultProcessor(syscalls, circulatiingSupplyCalculator)

waiter := chain.NewWaiter(chainStore, messageStore, config.Repo().Datastore(), cbor.NewCborStore(config.Repo().Datastore()))

Expand Down Expand Up @@ -111,7 +111,6 @@ func (chain *ChainSubmodule) API() v1api.IChain {
return &chainAPI{
IAccount: NewAccountAPI(chain),
IActor: NewActorAPI(chain),
IBeacon: NewBeaconAPI(chain),
IChainInfo: NewChainInfoAPI(chain),
IMinerState: NewMinerStateAPI(chain),
}
Expand Down
Loading