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

Create fip-draft_askv2.md #224

Closed
wants to merge 5 commits into from

Conversation

brendalee
Copy link
Contributor

No description provided.

FIPS/fip-draft_askv2.md Outdated Show resolved Hide resolved
FIPS/fip-draft_askv2.md Outdated Show resolved Hide resolved
FIPS/fip-draft_askv2.md Outdated Show resolved Hide resolved
FIPS/fip-draft_askv2.md Outdated Show resolved Hide resolved
Copy link
Member

@anorth anorth left a comment

Choose a reason for hiding this comment

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

Following the process discussion in #215, I do not think this proposal is sufficiently fleshed out to warrant a PR yet. Much more should be worked out in the discussion forum or off-Github drafts first.

cc @kaitlin-beegle


## Change Motivation
<!--The motivation is critical for FIPs that want to change the Filecoin protocol. It should clearly explain why the existing protocol specification is inadequate to address the problem that the FIP solves. FIP submissions without sufficient motivation may be rejected outright.-->
Clients need to be able to share details of the storage deal they want to make. Furthermore, they need to know what capabilities and features a Storage Provider supports, so as to understand what Storage Providers they can successfully make a deal with.
Copy link
Member

Choose a reason for hiding this comment

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

Please expand more on the shortcomings of the existing Ask protocol, and what problems this proposal addresses.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Alex! With the existing ask protocol, the client does not have a method to share information about their storage deal; rather, only the storage provider can share precondition parameters by which they will choose to accept or reject a deal. Existing StorageAsk

- Option for client to specify additional transfer protocols
- Will have a set of defined protocols, but allow SPs to add more
* Message freeform text
* Signature by client
Copy link
Member

Choose a reason for hiding this comment

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

It would really help to highlight the deltas from the existing Ask request.

* Will accept or reject the deal
* Rejection code
- Need clearly defined rejection codes
- Start with HTTP codes and build from there
Copy link
Member

Choose a reason for hiding this comment

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

I don't think HTTP codes are appropriate for re-use here. They're a quite different application domain (mostly about fetching resources).

This FIP should probably specify the codes.

Choose a reason for hiding this comment

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

We should keep HTTP 418.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@anorth - do you have additional suggestions for what error/rejection codes should be as an alternative to HTTP codes? Would be great to get your input/feedback in the discussion.

* How long the offer is valid for
- Expiry time
- Not binding, just for client convenience
* Start epoch of deal
Copy link
Member

Choose a reason for hiding this comment

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

The client already chose this. Do you mean something like the earliest (or latest) start epoch for a similar deal that the provider would accept?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that's correct. An example use case would be if clients want to make multiple deals with the same storage provider, then they would know what timing would be convenient to do dealmaking.

brendalee and others added 4 commits December 17, 2021 09:33
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
@kaitlin-beegle
Copy link
Contributor

Closing this PR since an updated version (as an FRC) was just pushed and merged.

@brendalee
Copy link
Contributor Author

@kaitlin-beegle this is not yet covered in boost, but hopefully can be worked on in the near future

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.

5 participants