Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error testing wdpost using 'curio test wd cli' #328

Open
6 of 12 tasks
zelin44913 opened this issue Nov 18, 2024 · 1 comment
Open
6 of 12 tasks

Error testing wdpost using 'curio test wd cli' #328

zelin44913 opened this issue Nov 18, 2024 · 1 comment

Comments

@zelin44913
Copy link

zelin44913 commented Nov 18, 2024

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.24.2+mainnet+git_ce37e6e_2024-11-11T08:01:33+01:00

Describe the Bug

I manage 5 miners in curio at the same time and need to test wdpost of each miner separately

Logging Information

ERROR: 'no api key provided' while parsing the config toml's 
	[Apis]
	StorageRPCSecret=
Get it with: jq .PrivateKey ~/.lotus-miner/keystore/MF2XI2BNNJ3XILLQOJUXMYLUMU: no api key provided

Repo Steps

  1. Run 'curio test wd cli --deadline 0 --layers mig-f0XXXX'
  2. Do '...'
  3. See error
ERROR: 'no api key provided' while parsing the config toml's 
	[Apis]
	StorageRPCSecret=
Get it with: jq .PrivateKey ~/.lotus-miner/keystore/MF2XI2BNNJ3XILLQOJUXMYLUMU: no api key provided
@LexLuthr
Copy link
Contributor

I cannot reproduce this locally. After looking at the code, I don't see a bug. Most likely problem would be that base does not have the storage secret. You do not need to use migration layer either. All miner IDs are added to base layer by default and when you run this command without layers it will automatically test for all miner IDs.

If you are still facing an issue, please provide me with [API] and [Addresses] section of the base layer. You can change secret values to something else if it exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants