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

Commit

Permalink
fix(options): remove keepUnsealed as cmd line option
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward committed Sep 8, 2023
1 parent 1a7079d commit eb8791f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 15 deletions.
5 changes: 0 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ SINGULARITY_CONTENT_PROVIDER_DOMAIN=
# Defaults to 1 year. In general, you should not change this unless your contracts specify something different
#MOTION_DEAL_DURATION=31536000000000000

# Specifies whether storage providers should keep an unsealed copy of data for deals
# made through motion. Keeping unsealed copies is required for data retrievability
# and generally this value should not be changed
#MOTION_KEEP_UNSEALED=true

# Specifies hether this operation of motion is running on mainnet or a testnet.
# Should be left to false unless you are a developer
#LOTUS_TEST=false
Expand Down
7 changes: 0 additions & 7 deletions cmd/motion/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,6 @@ func main() {
Value: false,
EnvVars: []string{"MOTION_VERIFIED_DEAL"},
},
&cli.BoolFlag{
Name: "keepUnsealed",
Usage: "whether storage providers should retain an unsealed copy for motion deals to make them retrievable",
DefaultText: "storage providers WILL maintain an unsealed copy",
Value: true,
EnvVars: []string{"MOTION_KEEP_UNSEALED"},
},
&cli.StringFlag{
Name: "experimentalSingularityContentURLTemplate",
Usage: "When using a singularity as the storage engine, if set, setups up online deals to use the given url template for making online deals",
Expand Down
1 change: 0 additions & 1 deletion compose-local-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ services:
- MOTION_SINGULARITY_SCHEDULE_DEAL_NUMBER
- MOTION_WALLET_KEY
- MOTION_VERIFIED_DEAL
- MOTION_KEEP_UNSEALED
volumes:
- motion-singularity-volume:/usr/src/app/storage
depends_on:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ services:
- MOTION_SINGULARITY_SCHEDULE_DEAL_NUMBER
- MOTION_WALLET_KEY
- MOTION_VERIFIED_DEAL
- MOTION_KEEP_UNSEALED
volumes:
- motion-singularity-volume:/usr/src/app/storage
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion integration/singularity/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func newOptions(o ...Option) (*options, error) {
packThreshold: 16 << 30,
datasetName: "MOTION_DATASET",
scheduleCronPerpetual: true,
verifiedDeal: true,
verifiedDeal: false,
keepUnsealed: true,
ipniAnnounce: true,
scheduleDealSize: "0",
Expand Down

0 comments on commit eb8791f

Please sign in to comment.