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

update markets with pricing fix, and improve docs #5629

Closed
wants to merge 2 commits into from

Conversation

whyrusleeping
Copy link
Member

pulling in filecoin-project/go-fil-markets#491 for less nonsensical deal pricing

Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

The current version of markets v1.1.8 caused issues when lotus clients on a previous version of markets tried to propose a deal with lotus miners on v1.1.8: #5608

whyrusleeping/cbor-gen#50 should fix the issue. @whyrusleeping could you review it please?

cli/client.go Outdated Show resolved Hide resolved
Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is API breaking, at the very least we should change the field name, maybe adding fallback to current behavior. Keeping it this way can cause people to make deals for way more FIL than they intended to

(interactive mode price math on L815 needs fixing)

Co-authored-by: dirkmc <dirkmdev@gmail.com>
@whyrusleeping
Copy link
Member Author

@magik6k i can't imagine anyone actually uses an interface this broken for anything. The worst case is that someone pays 32 times more than they were expecting for a 32GB deal. I dont even think anyone has successfully made a 32gb deal using this interface.

One easy thing we can do is to put a little warning if the users price is above the miners listed ask price by 2x, and force them to add a flag if they really want to pay that much

@arajasek
Copy link
Contributor

arajasek commented Apr 5, 2021

Let's extract out the helptext from this, but drop the (now-irrelevant) markets update

@arajasek arajasek marked this pull request as draft April 5, 2021 16:37
@arajasek arajasek closed this Apr 9, 2021
@Kubuxu Kubuxu deleted the fix/client-deal-pricing branch November 25, 2021 19:15
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

Successfully merging this pull request may close these issues.

Proposal to start a deal with the price that a client is willing to pay for the storage space
4 participants