lotus/conformance/chaos/gen/gen.go
2022-06-14 17:00:51 +02:00

24 lines
474 B
Go

package main
import (
gen "github.com/whyrusleeping/cbor-gen"
"github.com/filecoin-project/lotus/conformance/chaos"
)
func main() {
if err := gen.WriteTupleEncodersToFile("./cbor_gen.go", "chaos",
chaos.State{},
chaos.CallerValidationArgs{},
chaos.CreateActorArgs{},
chaos.ResolveAddressResponse{},
chaos.SendArgs{},
chaos.SendReturn{},
chaos.MutateStateArgs{},
chaos.AbortWithArgs{},
chaos.InspectRuntimeReturn{},
); err != nil {
panic(err)
}
}