Fix tests and verifreg
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
cbfb4770fd
commit
61dbd443b8
@ -9,7 +9,7 @@ import (
|
|||||||
"github.com/filecoin-project/go-state-types/big"
|
"github.com/filecoin-project/go-state-types/big"
|
||||||
"github.com/filecoin-project/go-state-types/crypto"
|
"github.com/filecoin-project/go-state-types/crypto"
|
||||||
"github.com/filecoin-project/lotus/api"
|
"github.com/filecoin-project/lotus/api"
|
||||||
mocks "github.com/filecoin-project/lotus/api/v0api/v0mocks"
|
mocks "github.com/filecoin-project/lotus/api/mocks"
|
||||||
types "github.com/filecoin-project/lotus/chain/types"
|
types "github.com/filecoin-project/lotus/chain/types"
|
||||||
gomock "github.com/golang/mock/gomock"
|
gomock "github.com/golang/mock/gomock"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
@ -95,7 +95,7 @@ var verifRegAddVerifierCmd = &cli.Command{
|
|||||||
|
|
||||||
fmt.Printf("message sent, now waiting on cid: %s\n", msgCid)
|
fmt.Printf("message sent, now waiting on cid: %s\n", msgCid)
|
||||||
|
|
||||||
mwait, err := api.StateWaitMsg(ctx, msgCid, build.MessageConfidence)
|
mwait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user