Skip to content

Commit

Permalink
Add Transaction hash to Event message
Browse files Browse the repository at this point in the history
Co-authored-by: Krzysztof Lis <[email protected]>
  • Loading branch information
IronGauntlets and CHr15F0x committed Dec 1, 2023
1 parent f3e4d4c commit dba5b3b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions p2p/proto/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ 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 {
Iteration iteration = 1;
}

message Events {
repeated Event items = 1;
repeated Event items = 1;
}

// can be several in a single reply
Expand Down

0 comments on commit dba5b3b

Please sign in to comment.