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

Add label field to deals #349

Merged
merged 1 commit into from
Aug 4, 2020
Merged

Add label field to deals #349

merged 1 commit into from
Aug 4, 2020

Conversation

hannahhoward
Copy link
Collaborator

Goals

Per https://docs.google.com/document/d/1cyO_Ah0R9XbfgpR_isJUtEREspbco_A6EDYJZWouR-8/edit# -- we are encoding the payload CID in the Label field on deals to enable discoverability.

Implementation

Encode a JSON structure into the label field (tried CBOR, but issue arise from the fact that label is a string). Matches label described in doc but with proper IPLD DAG JSON CID structure.

Copy link
Contributor

@ingar ingar left a comment

Choose a reason for hiding this comment

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

👍

@hannahhoward hannahhoward merged commit 9335568 into master Aug 4, 2020
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.

2 participants