De-dupe receipt IPLDs #106

Closed
opened 2021-08-23 03:59:10 +00:00 by i-norden · 1 comment
Member

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
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`
Author
Member

Jumped the gun, waiting on this to be merged: https://github.com/vulcanize/ipld-eth-server/pull/103

Jumped the gun, waiting on this to be merged: https://github.com/vulcanize/ipld-eth-server/pull/103
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#106
No description provided.