Skip to content

Commit

Permalink
Add bor event lookup (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAkhunov authored Aug 18, 2023
1 parent 08d7ee9 commit a8f70b6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions remote/ethbackend.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ service ETHBACKEND {

// PendingBlock returns latest built block.
rpc PendingBlock(google.protobuf.Empty) returns (PendingBlockReply);

rpc BorEvent(BorEventRequest) returns (BorEventReply);
}

enum Event {
Expand Down Expand Up @@ -139,3 +141,12 @@ message PeersReply {
repeated types.PeerInfo peers = 1;
}

message BorEventRequest {
types.H256 bor_tx_hash = 1;
}

message BorEventReply {
bool present = 1;
uint64 block_number = 2;
repeated bytes event_rlps = 3;
}

0 comments on commit a8f70b6

Please sign in to comment.