Skip to content

Commit

Permalink
chore: rename car to genesis-car
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Jun 22, 2022
1 parent 6040f7c commit 947b560
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fixtures/assets/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/filecoin-project/venus/venus-shared/types"
)

//go:embed car
//go:embed genesis-car
var carFS embed.FS

func GetGenesis(networkType types.NetworkType) ([]byte, error) {
Expand All @@ -27,7 +27,7 @@ func GetGenesis(networkType types.NetworkType) ([]byte, error) {
fileName = "mainnet.car"
}

return carFS.ReadFile(filepath.Join("car", fileName))
return carFS.ReadFile(filepath.Join("genesis-car", fileName))
}

//go:embed proof-params
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 947b560

Please sign in to comment.