Skip to content

Commit 3bcb4b6

Browse files
authored
fix: remove metadata field on StoreMessage (#135)
This field is a duplicate of `StoreContent.metadata` and is unsafe to use as it is not part of the signed payload. This should not cause issues as the field is not stored in DB on CCNs anyway.
1 parent 364b7ec commit 3bcb4b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aleph_message/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ class StoreMessage(BaseMessage):
295295
type: Literal[MessageType.store]
296296
content: StoreContent
297297
forgotten_by: Optional[list] = None
298-
metadata: Optional[Dict[str, Any]] = None
299298

300299

301300
class ForgetMessage(BaseMessage):

0 commit comments

Comments
 (0)