Skip to content

Commit

Permalink
opt: generate datacap types to venus-shared
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Sep 6, 2023
1 parent f941a36 commit 0f35448
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion venus-devtool/state-type-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ var getStateTypesIncludePkgs = func() []string {
aliasVesion := map[string]actors.Version{
"paych": actors.Version8,
}
for _, pkg := range []string{"market", "miner", "verifreg", "paych", "multisig"} {
for _, pkg := range []string{"market", "miner", "verifreg", "paych", "multisig", "datacap"} {
if v, ok := aliasVesion[pkg]; ok {
pkgs = append(pkgs, fmt.Sprintf("v%v/%s", v, pkg))
} else {
Expand Down
22 changes: 22 additions & 0 deletions venus-shared/types/state_types_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f35448

Please sign in to comment.