From d333661f4d72331a3fdc41bdc23b7f919261efa1 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:08:31 -0800 Subject: [PATCH 1/2] feat: update post-commit action --- proto/mls/database/intents.proto | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/proto/mls/database/intents.proto b/proto/mls/database/intents.proto index b50f4223..dd497be4 100644 --- a/proto/mls/database/intents.proto +++ b/proto/mls/database/intents.proto @@ -18,11 +18,12 @@ message SendMessageData { V1 v1 = 1; } } + // Wrapper around a list af repeated EVM Account Addresses message AccountAddresses { repeated string account_addresses = 1; } - + // Wrapper around a list of repeated Installation IDs message InstallationIds { repeated bytes installation_ids = 1; @@ -62,9 +63,14 @@ message RemoveMembersData { // Generic data-type for all post-commit actions message PostCommitAction { + // An installation + message Installation { + bytes installation_id = 1; + bytes hpke_public_key = 2; + } // SendWelcome message message SendWelcomes { - repeated bytes installation_ids = 1; + repeated Installation installations = 1; bytes welcome_message = 2; } From 11d43c7d632eb0437bfcc07addf7780c1cb92936 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:40:54 -0800 Subject: [PATCH 2/2] fix: rename to installation_key --- proto/mls/database/intents.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/mls/database/intents.proto b/proto/mls/database/intents.proto index dd497be4..6700e5e5 100644 --- a/proto/mls/database/intents.proto +++ b/proto/mls/database/intents.proto @@ -65,7 +65,7 @@ message RemoveMembersData { message PostCommitAction { // An installation message Installation { - bytes installation_id = 1; + bytes installation_key = 1; bytes hpke_public_key = 2; } // SendWelcome message