-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/master' into txmum-lookup-method
- Loading branch information
Showing
9 changed files
with
112 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module github.com/ledgerwatch/interfaces | ||
module github.com/erigontech/interfaces | ||
|
||
go 1.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
syntax = "proto3"; | ||
|
||
import "google/protobuf/empty.proto"; | ||
import "types/types.proto"; | ||
|
||
package remote; | ||
|
||
option go_package = "./remote;remoteproto"; | ||
|
||
service BridgeBackend { | ||
// Version returns the service version number | ||
rpc Version(google.protobuf.Empty) returns (types.VersionReply); | ||
|
||
rpc BorTxnLookup(BorTxnLookupRequest) returns (BorTxnLookupReply); | ||
|
||
rpc BorEvents(BorEventsRequest) returns (BorEventsReply); | ||
} | ||
|
||
message BorTxnLookupRequest { | ||
types.H256 bor_tx_hash = 1; | ||
} | ||
|
||
message BorTxnLookupReply { | ||
bool present = 1; | ||
uint64 block_number = 2; | ||
} | ||
|
||
message BorEventsRequest { | ||
uint64 block_num = 1; | ||
types.H256 block_hash = 2; | ||
} | ||
|
||
message BorEventsReply { | ||
string state_receiver_contract_address = 1; | ||
repeated bytes event_rlps = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters