Skip to content

The command [curio test wd here] parameter --storage-json is invalid #585

@zelin44913

Description

@zelin44913

Checklist

  • This is not a question or a support request. If you have any Curio related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release candidate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to curio.

Curio component

  • PoRep Pipeline
  • Snap Deals
  • Market
  • IPNI provider
  • Curio UI
  • Other

Curio Version

curio version 1.25.1+mainnet+git_b219def_2025-05-20T18:15:51+04:00

Describe the Bug

Regardless of whether the --storage-json parameter is specified, the default value loaded is always "~/.curio/storage.json" or "$CURIO_REPO_PATH/storage.json".

Reproduction Method: Remove the default value "~/.curio/storage.json" or "$CURIO_REPO_PATH/storage.json".

Running curio test wd here --storage-json ~/123.json (regardless of whether it exists) will skip loading the storage and proceed directly to the proof-of-spacetime calculation. It's unclear what the calculation is.

Logging Information

Regardless of whether the storage is loaded correctly, the final result is:
"Error computing WindowPoSt for miner {B} window post verification failed: proof was invalid"

Repo Steps

  1. Run 'curio test wd here'
  2. Do '...'
  3. See error '...'
    ...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions