-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat: offer-info updates [fixes DXJ-770] #906
Conversation
|
||
for (const [offerName, offer] of Object.entries(configPerEnv)) { | ||
const providerAddress = await input({ | ||
message: `Enter provider address that was used when creating offer ${offerName} with offerId: ${offer.id} at ${configPath}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provider address is not stored along with the offers? Maybe it should be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this IS the idea in this PR to now store the provider address with the offer
here is the new config type https://github.com/fluencelabs/cli/pull/906/files/181239fe1dea4b3f430e2b79b630e7165016b77e#diff-75e8e297e5ce3647b9b327aa39919ad1bd3d7783560bfc361dba61658c04b15eR122-R125
src/lib/chain/offer.ts
Outdated
if (notFoundOffersInfo.length > 0) { | ||
commandObj.warn( | ||
commandObj.warn( | ||
`Can't find offer info using the indexer:\n${notFoundOffersInfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User won't know what is an "indexer".
Cannot find the following offers:
- name: id
- name: id
Maybe also print full indexer output in DEBUG in that case. But could be clumsy from the code organisation perspective.
* feat: offer-info updates [fixes DXJ-770] * Apply automatic changes * add connection closed to the list of the errors to retry * add debug log * fix? * fix? * improve * updates * Apply automatic changes * update the message * increase ttl * Apply automatic changes --------- Co-authored-by: shamsartem <shamsartem@users.noreply.github.com>
No description provided.