forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make relay generic over source/target chains (paritytech#58)
* renamed to-be-generic files * make everything required generic over source/target chains * some more fixes * cargo fmt --all * trait functions -> trait constants * cargo --fmt --all
- Loading branch information
Showing
11 changed files
with
1,294 additions
and
906 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,43 +2,44 @@ name: ethsub-bridge | |
version: "0.1.0" | ||
author: Parity Technologies <[email protected]> | ||
about: Parity Ethereum (PoA) <-> Substrate bridge | ||
args: | ||
- eth-host: | ||
long: eth-host | ||
value_name: ETH_HOST | ||
help: Connect to Ethereum node at given host. | ||
takes_value: true | ||
- eth-port: | ||
long: eth-port | ||
value_name: ETH_PORT | ||
help: Connect to Ethereum node at given port. | ||
takes_value: true | ||
- sub-host: | ||
long: sub-host | ||
value_name: SUB_HOST | ||
help: Connect to Substrate node at given host. | ||
takes_value: true | ||
- sub-port: | ||
long: sub-port | ||
value_name: SUB_PORT | ||
help: Connect to Substrate node at given port. | ||
takes_value: true | ||
- sub-tx-mode: | ||
long: sub-tx-mode | ||
value_name: MODE | ||
help: Submit headers using signed (default) or unsigned transactions. Third mode - backup - submits signed transactions only when we believe that sync has stalled. | ||
takes_value: true | ||
possible_values: | ||
- signed | ||
- unsigned | ||
- backup | ||
- sub-signer: | ||
long: sub-signer | ||
value_name: SUB_SIGNER | ||
help: The SURI of secret key to use when transactions are submitted to the Substrate node. | ||
takes_value: true | ||
- sub-signer-password: | ||
long: sub-signer-password | ||
value_name: SUB_SIGNER_PASSWORD | ||
help: The password for the SURI of secret key to use when transactions are submitted to the Substrate node. | ||
takes_value: true | ||
subcommands: | ||
- eth-to-sub: | ||
about: Synchronize headers from Ethereum node to Substrate node. | ||
args: | ||
- eth-host: | ||
long: eth-host | ||
value_name: ETH_HOST | ||
help: Connect to Ethereum node at given host. | ||
takes_value: true | ||
- eth-port: | ||
long: eth-port | ||
value_name: ETH_PORT | ||
help: Connect to Ethereum node at given port. | ||
takes_value: true | ||
- sub-host: | ||
long: sub-host | ||
value_name: SUB_HOST | ||
help: Connect to Substrate node at given host. | ||
takes_value: true | ||
- sub-port: | ||
long: sub-port | ||
value_name: SUB_PORT | ||
help: Connect to Substrate node at given port. | ||
takes_value: true | ||
- sub-tx-mode: | ||
long: sub-tx-mode | ||
value_name: MODE | ||
help: Submit headers using signed (default) or unsigned transactions. Third mode - backup - submits signed transactions only when we believe that sync has stalled. | ||
takes_value: true | ||
possible_values: | ||
- signed | ||
- unsigned | ||
- backup | ||
- sub-signer: | ||
long: sub-signer | ||
value_name: SUB_SIGNER | ||
help: The SURI of secret key to use when transactions are submitted to the Substrate node. | ||
- sub-signer-password: | ||
long: sub-signer-password | ||
value_name: SUB_SIGNER_PASSWORD | ||
help: The password for the SURI of secret key to use when transactions are submitted to the Substrate node. |
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
Oops, something went wrong.