From 084b8f9d6a641cc908ae68b5f852f9038a06ca91 Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Fri, 7 Aug 2020 17:52:56 -0400 Subject: [PATCH] Fix panic when no instance is passed to certain CLI options (#275) --- bridges/relays/ethereum/src/cli.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridges/relays/ethereum/src/cli.yml b/bridges/relays/ethereum/src/cli.yml index 0fbf866166d5..35c8c2e6eb3f 100644 --- a/bridges/relays/ethereum/src/cli.yml +++ b/bridges/relays/ethereum/src/cli.yml @@ -85,6 +85,7 @@ subcommands: help: Hex-encoded secret to use when transactions are submitted to the Ethereum node. - sub-host: *sub-host - sub-port: *sub-port + - sub-pallet-instance: *sub-pallet-instance - no-prometheus: *no-prometheus - prometheus-host: *prometheus-host - prometheus-port: *prometheus-port @@ -102,6 +103,7 @@ subcommands: takes_value: true - sub-host: *sub-host - sub-port: *sub-port + - sub-pallet-instance: *sub-pallet-instance - sub-authorities-set-id: long: sub-authorities-set-id value_name: SUB_AUTHORITIES_SET_ID @@ -160,6 +162,7 @@ subcommands: - sub-port: *sub-port - sub-signer: *sub-signer - sub-signer-password: *sub-signer-password + - sub-pallet-instance: *sub-pallet-instance - no-prometheus: *no-prometheus - prometheus-host: *prometheus-host - prometheus-port: *prometheus-port