From dba5b3ba55c936c71fc64c8fda5e97d408723aba Mon Sep 17 00:00:00 2001 From: IronGauntlets Date: Tue, 28 Nov 2023 16:47:28 +0000 Subject: [PATCH] Add Transaction hash to Event message Co-authored-by: Krzysztof Lis --- p2p/proto/event.proto | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/p2p/proto/event.proto b/p2p/proto/event.proto index 1528f8d..a9f4877 100644 --- a/p2p/proto/event.proto +++ b/p2p/proto/event.proto @@ -2,9 +2,10 @@ syntax = "proto3"; import "p2p/proto/common.proto"; message Event { - Felt252 from_address = 1; - repeated Felt252 keys = 2; - repeated Felt252 data = 3; + Hash transaction_hash = 1; + Felt252 from_address = 2; + repeated Felt252 keys = 3; + repeated Felt252 data = 4; } message EventsRequest { @@ -12,7 +13,7 @@ message EventsRequest { } message Events { - repeated Event items = 1; + repeated Event items = 1; } // can be several in a single reply