diff --git a/README.md b/README.md index 192483bec..21fd36b83 100644 --- a/README.md +++ b/README.md @@ -345,7 +345,7 @@ Toggle details for each namespace to view additional settings: Set up your node's environment variables using the `MADARA_` prefix. For example: - `MADARA_BASE_PATH=/path/to/data` -- `MADARA_RPC_PORT=1111=1111` +- `MADARA_RPC_PORT=1111` These variables allow you to adjust the node's configuration without using command-line arguments. If the command-line argument is specified then it takes precedent over the environment variable. diff --git a/crates/node/src/cli/block_production.rs b/crates/node/src/cli/block_production.rs index e87671391..e85d18a10 100644 --- a/crates/node/src/cli/block_production.rs +++ b/crates/node/src/cli/block_production.rs @@ -6,8 +6,8 @@ pub struct BlockProductionParams { #[arg(env = "MADARA_BLOCK_PRODUCTION_DISABLED", long, alias = "no-block-production")] pub block_production_disabled: bool, - /// Launch a devnet with a producton chain id (like SN_MAINNET, SN_SEPOLIA). - /// This in unsafe because your devnet transactiosn can be replayed on the actual network. + /// Launch a devnet with a production chain id (like SN_MAINNET, SN_SEPOLIA). + /// This in unsafe because your devnet transactions can be replayed on the actual network. #[arg(env = "MADARA_OVERRIDE_DEVNET_CHAIN_ID", long, default_value_t = false)] pub override_devnet_chain_id: bool,