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

De-dupe receipt IPLDs #106

Closed
i-norden opened this issue Aug 23, 2021 · 1 comment
Closed

De-dupe receipt IPLDs #106

i-norden opened this issue Aug 23, 2021 · 1 comment
Assignees

Comments

@i-norden
Copy link
Collaborator

i-norden commented Aug 23, 2021

In an effort to minimize duplication of data in our IPLD database, we want to

  1. No longer publish Receipt IPLDs to the public.blocks table
  2. Replace the mh_key and cid fields in the receipt_cids table with a multihash and cid that instead point to the ReceiptTrie leaf node IPLD that contains, as the value stored in the leaf, the receipt we were previously publishing and referencing directly
  3. We need to make it clear that the IPLD we reference is a leaf node and not a standalone receipt, so we should consider renaming the rows to leaf_mh_key and leaf_cid
@i-norden
Copy link
Collaborator Author

Jumped the gun, waiting on this to be merged: cerc-io/ipld-eth-server#103

@i-norden i-norden reopened this Sep 21, 2021
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