2020-09-08 20:50:25 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
gen "github.com/whyrusleeping/cbor-gen"
|
2022-06-14 15:00:51 +00:00
|
|
|
|
|
|
|
"github.com/filecoin-project/lotus/conformance/chaos"
|
2020-09-08 20:50:25 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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{},
|
2020-09-15 14:43:37 +00:00
|
|
|
chaos.InspectRuntimeReturn{},
|
2020-09-08 20:50:25 +00:00
|
|
|
); err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
}
|