lotus/conformance/chaos/gen/gen.go

21 lines
386 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{},
); err != nil {
panic(err)
}
}