From 8a3e812395066dbb8eaaedcf19dcb83844921c69 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 18 Nov 2024 18:55:14 -0800 Subject: [PATCH 1/3] update frames proto to match --- proto/message_contents/frames.proto | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/proto/message_contents/frames.proto b/proto/message_contents/frames.proto index a7ee16d..38542ce 100644 --- a/proto/message_contents/frames.proto +++ b/proto/message_contents/frames.proto @@ -37,10 +37,9 @@ message FrameActionBody { // The outer payload that will be sent as the `messageBytes` in the // `trusted_data` part of the Frames message message FrameAction { - Signature signature = 1; - // The SignedPublicKeyBundle of the signer, used to link the XMTP signature - // with a blockchain account through a chain of signatures. - SignedPublicKeyBundle signed_public_key_bundle = 2; + bytes signature = 1; + // The public installation id used to sign. + string installation_id = 2; // Serialized FrameActionBody message, so that the signature verification can // happen on a byte-perfect representation of the message bytes action_body = 3; From 0c247b278e0333bb1b6e66f6ed00f9e75360a18a Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 18 Nov 2024 19:00:03 -0800 Subject: [PATCH 2/3] fix: frames actions From 21dfdbe5393425562b03e6b093804e68027173f5 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 19 Nov 2024 07:48:26 -0800 Subject: [PATCH 3/3] update to deprecated --- proto/message_contents/frames.proto | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/proto/message_contents/frames.proto b/proto/message_contents/frames.proto index 38542ce..9018f0c 100644 --- a/proto/message_contents/frames.proto +++ b/proto/message_contents/frames.proto @@ -37,10 +37,15 @@ message FrameActionBody { // The outer payload that will be sent as the `messageBytes` in the // `trusted_data` part of the Frames message message FrameAction { - bytes signature = 1; - // The public installation id used to sign. - string installation_id = 2; + Signature signature = 1 [deprecated = true]; + // The SignedPublicKeyBundle of the signer, used to link the XMTP signature + // with a blockchain account through a chain of signatures. + SignedPublicKeyBundle signed_public_key_bundle = 2 [deprecated = true]; // Serialized FrameActionBody message, so that the signature verification can // happen on a byte-perfect representation of the message bytes action_body = 3; + // The installation signature + bytes installation_signature = 4; + // The public installation id used to sign. + bytes installation_id = 5; }