lotus/conformance/chaos/gen/gen.go

23 lines
442 B
Go
Raw Normal View History

2020-09-08 20:50:25 +00:00
package main
import (
"github.com/filecoin-project/lotus/conformance/chaos"
gen "github.com/whyrusleeping/cbor-gen"
)
func main() {
2020-09-17 03:49:23 +00:00
if err := gen.WriteTupleEncodersToFile("./cbor_gen.go", "chaos",
2020-09-08 20:50:25 +00:00
chaos.State{},
chaos.CreateActorArgs{},
chaos.ResolveAddressResponse{},
chaos.SendArgs{},
chaos.SendReturn{},
chaos.MutateStateArgs{},
2020-09-10 11:03:13 +00:00
chaos.AbortWithArgs{},
chaos.InspectRuntimeReturn{},
2020-09-08 20:50:25 +00:00
); err != nil {
panic(err)
}
}