21 lines
386 B
Go
21 lines
386 B
Go
|
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)
|
||
|
}
|
||
|
}
|