lucasvanmol
2022-08-11 06:13:49 -07:00
committed by GitHub
parent 9a7ff9a3a0
commit 98252cb900
+2 -2
View File
@@ -54,7 +54,7 @@ pub struct RunCmd {
/// ///
/// Default is local. Note: not all RPC methods are safe to be exposed publicly. Use an RPC /// Default is local. Note: not all RPC methods are safe to be exposed publicly. Use an RPC
/// proxy server to filter out dangerous methods. More details: /// proxy server to filter out dangerous methods. More details:
/// <https://docs.substrate.io/v3/runtime/custom-rpcs/#public-rpcs>. /// <https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs>.
/// Use `--unsafe-rpc-external` to suppress the warning if you understand the risks. /// Use `--unsafe-rpc-external` to suppress the warning if you understand the risks.
#[clap(long)] #[clap(long)]
pub rpc_external: bool, pub rpc_external: bool,
@@ -85,7 +85,7 @@ pub struct RunCmd {
/// ///
/// Default is local. Note: not all RPC methods are safe to be exposed publicly. Use an RPC /// Default is local. Note: not all RPC methods are safe to be exposed publicly. Use an RPC
/// proxy server to filter out dangerous methods. More details: /// proxy server to filter out dangerous methods. More details:
/// <https://docs.substrate.io/v3/runtime/custom-rpcs/#public-rpcs>. /// <https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs>.
/// Use `--unsafe-ws-external` to suppress the warning if you understand the risks. /// Use `--unsafe-ws-external` to suppress the warning if you understand the risks.
#[clap(long)] #[clap(long)]
pub ws_external: bool, pub ws_external: bool,