This diff introduces the create_or_update_farcaster_channel_tag endpoint so that we can call the createOrUpdateFarcasterChannelTag function we just introduced from the client
Depends on D11808
Differential D11773
[keyserver] introduce create_or_update_farcaster_channel_tag endpoint ginsu on Apr 24 2024, 11:24 PM. Authored by Tags None Referenced Files
Details This diff introduces the create_or_update_farcaster_channel_tag endpoint so that we can call the createOrUpdateFarcasterChannelTag function we just introduced from the client Depends on D11808 In my local stack I was able to call the create_or_update_farcaster_channel_tag endpoint and use createOrUpdateFarcasterChannelTag function from the client
Diff Detail
Event Timeline
Comment Actions Discussed this with @ginsu offline and he indicated he wanted to land this now, so I suggested gating the logic so that we're sure that Farcaster channels are not currently tagged in production, so that we can make sure we have no blob holders that need to be cleared from clients later. I guess @ginsu's reason for all of this is that he wants to make it possible to delete Farcaster channel tags from clients while we're in this intermediate state. But if we're not launching it to production, I guess I'm not entirely sure how important it is to support deleting Farcaster channel tags on clients. Not sure it makes sense to block the diff on this, but curious for @tomek's thoughts. EDIT It actually looks like we don't delete Farcaster channel tags from client – I can see in D11813 that the keyserver does the actual deletion. It looks like we're just having the keyserver return the blob holder to the client, and then having the client persist it, and then send it back to the keyserver. Seems a bit roundabout, but most of the code is already implemented. Comment Actions Not going to block it, but the approach doesn't make too much sense to me. Introducing something just to be removed a little later could be avoided by a better sequencing of work.
Comment Actions Going to land this diff now, but overall agree with the feedback regarding that reviewing this work would be easier to follow if I initially sequenced the work better. Will make sure that next time I introduce endpoints or work more in the keyserver code I think more critically on this.
|