Merge pull request #3892 from filcloud/fix-gen

fix conformance gen
This commit is contained in:
Raúl Kripalani 2020-09-18 14:23:57 +01:00 committed by GitHub
commit 9afdda4584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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{},