lotus/conformance/chaos/gen/gen.go

22 lines
411 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() {
if err := gen.WriteTupleEncodersToFile("../cbor_gen.go", "chaos",
chaos.State{},
chaos.CreateActorArgs{},
chaos.ResolveAddressResponse{},
chaos.SendArgs{},
chaos.SendReturn{},
chaos.MutateStateArgs{},
2020-09-10 11:03:13 +00:00
chaos.AbortWithArgs{},
2020-09-08 20:50:25 +00:00
); err != nil {
panic(err)
}
}