lotus/conformance/chaos/gen/gen.go

24 lines
474 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{},
2020-09-14 11:41:00 +00:00
chaos.CallerValidationArgs{},
2020-09-08 20:50:25 +00:00
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)
}
}