-
Notifications
You must be signed in to change notification settings - Fork 241
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
Stale or published elsewhere ApplicationMetadataMessage_COMMUNITY_DESCRIPTION
public messages
#4922
Comments
Cc @osmaczko |
Is it possible that a content topic format would change for certain Communities? |
We changed fleet to use the new one called Also, that community is not really used anymore, so it's possible that Iuri shut down the control node for it cc @iurimatias |
@jrainville the description mentions Which community is used then, please? |
@felicio this is the new community https://status.app/c/G4IAAMSIuW0ORJLY43bdG0nzRKzhlAOHMJAkwRaAHZJ7yqYUxajs35U_WeFesRAnUVV96woIFyIvCSUFsiKN4L-2ESkypLDwYw-S5xztCs8IqQXB99foPIShRGs8H6mTpoTgr1fieI3s7HWt0-cH-_Px_DjNaXrUAA==#zQ3shZeEJqTC1xhGUjxuS4rtHSrhJ8vUYp64v6qWkLpvdy9L9 |
@jrainville again, that's what the description references. Could you please have a closer look at the issue? |
Sorry for the confusion, you named the community I'm not sure what's going on here then. We clearly receive the latest updates in peer to peer, since I can see all the new channels.
If we shard the community, yes that would be the case. I don't recall that we sharded this one however. @iurimatias can you check the shard popup which topic it is using? |
@jrainville thank you. One more thing to reiterate, however, this issue focuses primarily on Store nodes. |
The shard is not set, the status-go/protocol/common/shard/shard.go Lines 58 to 63 in 38183ab
status-go/protocol/common/shard/shard.go Line 51 in 38183ab
|
@felicio can you check if you update the topic if it works? |
Sorry, I might have misinterpreted the code (the code is misleading tbh - which one is the default? 😵 ). I just double-checked, and we publish |
@felicio I am able to fetch
|
@osmaczko I saw some recent messages of similar sizes for that community, but again since around
And as a side note
|
ApplicationMetadataMessage_COMMUNITY_DESCRIPTION
updatesApplicationMetadataMessage_COMMUNITY_DESCRIPTION
public updates
We don't wrap However, if it used to work, I am pretty sure, it is not working now because of messages segmentation.
Oh, I see. The behavior changed a few months ago. Once the owner-token is minted, the signer of the community is no longer the community's private key. The signer becomes the owner of the token. I'll send you a link to the presentation about that offline.
Could you share the |
Step into status-go/protocol/messenger_communities.go Line 134 in 38183ab
It still works the same for
How do you validate the message then?
Attaching the top-most waku (e.g. " |
Message is wrapped only into
That's most likely because
I sent you the link to the video with detailed explanations. Long story short, we queue
|
So this status-go/protocol/common/message_sender.go Line 662 in 9a133d5
So it would not fall into status-go/protocol/common/message_sender.go Line 668 in 9a133d5
status-go/protocol/messenger_communities.go Line 131 in 38183ab
Let me point out again, even those types of messages for Also, based on what you've shared so far, I believe you might have got the description from Let me know if you'd prefer a short meeting. |
I double checked and indeed we wrap the Description into status-go/protocol/common/message_sender.go Line 684 in 224103d
and that's how it is constructed exactly: status-go/protocol/encryption/protocol.go Lines 322 to 333 in 224103d
I also checked how we exactly process the message and indeed it is not segmented.
So going back to your points:
Yes, that's the case. We don't set it.
Paylod is unencrypted status-go/protocol/encryption/encryptor.go Lines 715 to 718 in 224103d
Hope this explains the missing bits, if not, please let me know, we'll do a short meeting. |
Closing as the issue is on the Web side |
ApplicationMetadataMessage_COMMUNITY_DESCRIPTION
public updatesApplicationMetadataMessage_COMMUNITY_DESCRIPTION
public messages
@osmaczko confirmed that's the behavior now, but don't you guys think these public messages that don't carry any keys nor require any other private information to be decoded should have the same data structure as those for public communities?
Did you also confirm these? And are you going to create follow-up issues?
Given fast lookups, why would a message with public community metadata ever be larger than 7MB? And if some of it is not public, shouldn't it be sent on another content topic? |
Waku message limit defined in status-go is 1MiB. Message payload is limited to 0.75MiB. We reached this limit in the past already: status-im/status-desktop#12188. Also please note that in the future, the maximum size of a message might be reduced dramatically from 1MiB to 150KiB: status-im/status-desktop#12188 (comment). Currently, the size of Status'
We wanted to avoid the complexity of reconstructing the Community state from data being spread across multiple messages/topics. I suppose we could consider sending only the public data on another content topic if needed. |
Thanks, clarified the data structure and if you decide not to create an issue for that too, I'll close this. Also, this issue is not blocking. |
Problem
ApplicationMetadataMessage_COMMUNITY_DESCRIPTION
forzQ3shZeEJqTC1xhGUjxuS4rtHSrhJ8vUYp64v6qWkLpvdy9L9
(Status CC Community) is from around2024-02-28T14:57:13.580Z
zQ3shgz9XWZerfqsSpR2XKjfyiwtyiRNV6whj6BXREwnuLo5P
) gets recent updatesSummary from comments below
ProtocolMessage#public_message
setProtocolMessage#encrypted_message['none'].payload
set but without any private material needed to decode itCommunityDescription#chats
are empty theCommunityDescription#categories
are set Categories should be encrypted for closed communities #4943CommunityDescription#members
are empty theCommunityDescription#active_members_count
isn'tactive_members_count
should be encrypted for closed communities #4944COMMUNITY_DESCRIPTION
messages larger than 7MB Lower the size of maximum waku message to 125KiB #4955Implementation
Known steps towards feature implementation.
What needs further specifying and investigating.
Acceptance Criteria
Rules for the future PR to be accepted.
Notes
/waku/2/rs/16/32
/waku/1/0x13267e91/rfc26
shards.test
Future Steps
Steps which should be taken after this issue has been resolved.
The text was updated successfully, but these errors were encountered: