Skip to content

Posts and feeds are not differentiated #259

@fulldecent

Description

@fulldecent

There is significant overlap between posts and feeds. Looking at implementation details (they’re in the same folder, similar code), and documentation (post is mentioned prominently but feed is not) it seems like one was an afterthought of the other.

The only practical difference is that a post can be read on-chain and it is more expensive to make and it can only be done once.

Post Feed
Can post data 😔 Once 😄 Many times
Data format Multihash Hash
Posting cost 😞 Expensive (SSTORE) 😄 Cheap (LOG3)
Can post metadata updates
Can be read on-chain

There is no use case presented in documentation where current on-chain (SSTORE) data is useful. I cannot think of any on-chain contract that would want to purchase data using Erasure.

Recommendation: remove Post and ProofHash contracts. In the documentation continue to talk about feeds and posts. But actually a post will be implemented just as a feed with only one entry.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions