status-im / community-dapp

Community directory curator dApp for Status
https://status-community-dapp.vercel.app
2 stars 5 forks source link

Add support for community shards #91

Open 0x-r4bbit opened 8 months ago

0x-r4bbit commented 8 months ago

At the time of writing this issue, community description data is retrieved from a waku topic that is derived from the community's ID. These topics live within the waku base topic namespace.

With shards, community topics/channels can exist in a shard, kind of like a "sub" topic. To support votes for sharded communities, we need to adjust the voting data to included the community's shard index.

More information and context can be found here: https://github.com/status-im/status-go/pull/3944#discussion_r1306710086

jrainville commented 3 months ago

Related issue done in status-desktop and status-go: https://github.com/status-im/status-desktop/issues/12585

jrainville commented 3 months ago

@mprakhov would you say your work fixed this issue or something needs to be done in the community-dapp code as well?

mprakhov commented 3 months ago

I'm not familiar with voting dapp, but based on the comment

To support votes for sharded communities, we need to adjust the voting data to included the community's shard index.

@jrainville It seems we need to provide (or check) to vote dapp shard info and update this shard info in dapp if the community changes shard (I didn't do that)