fix conformance gen

This commit is contained in:
Frank 2020-09-17 11:49:23 +08:00
parent c66ebc50c1
commit bf2e3baa8f
2 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,10 @@ import (
"fmt"
"io"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/exitcode"
abi "github.com/filecoin-project/go-state-types/abi"
exitcode "github.com/filecoin-project/go-state-types/exitcode"
cbg "github.com/whyrusleeping/cbor-gen"
"golang.org/x/xerrors"
xerrors "golang.org/x/xerrors"
)
var _ = xerrors.Errorf

View File

@ -7,7 +7,7 @@ import (
)
func main() {
if err := gen.WriteTupleEncodersToFile("../cbor_gen.go", "chaos",
if err := gen.WriteTupleEncodersToFile("./cbor_gen.go", "chaos",
chaos.State{},
chaos.CreateActorArgs{},
chaos.ResolveAddressResponse{},