From bf2e3baa8fd2e192cfcca15c05c66ced1bc12eb9 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 17 Sep 2020 11:49:23 +0800 Subject: [PATCH] fix conformance gen --- conformance/chaos/cbor_gen.go | 6 +++--- conformance/chaos/gen/gen.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conformance/chaos/cbor_gen.go b/conformance/chaos/cbor_gen.go index 2d9deec93..61e36e661 100644 --- a/conformance/chaos/cbor_gen.go +++ b/conformance/chaos/cbor_gen.go @@ -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 diff --git a/conformance/chaos/gen/gen.go b/conformance/chaos/gen/gen.go index 496cc3d35..ea04aee21 100644 --- a/conformance/chaos/gen/gen.go +++ b/conformance/chaos/gen/gen.go @@ -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{},