Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
remove min disk space requirement (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber authored Apr 3, 2023
1 parent ae78fe0 commit cc9c270
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ At present, the L2 implementation has the following features:
3. `MAX_L2_DISK_SPACE`
MAX_L2_DISK_SPACE is the environment variable that determines the maximum disk space the L2 node
can use to store cached CAR files. If this env variable is not configured, it defaults to 200GiB.
Note: The configured value should be greater than or equal to 200Gib.
Note: For efficient operation, the configured value should be greater than or equal to 200Gib.

4. `FIL_WALLET_ADDRESS`
FIL_WALLET_ADDRESS is the environment variable that determines the Filecoin wallet address of the L2 user.
Expand Down
3 changes: 0 additions & 3 deletions cmd/saturn-l2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,6 @@ func mkConfig() (config, error) {
if err != nil {
return config{}, fmt.Errorf("failed to parse max disk space env var: %w", err)
}
if maxDiskSpace < defaultMaxDiskSpace {
return config{}, errors.New("max allocated disk space should be atleast 200GiB")
}

// parse root directory
rootDirStr, err := getRootDir()
Expand Down

0 comments on commit cc9c270

Please sign in to comment.