From c90c77c83edf8a3d43deea52d0da217b858be5e7 Mon Sep 17 00:00:00 2001 From: Nabarun Date: Tue, 28 May 2024 11:04:04 +0530 Subject: [PATCH] Update readme for env variables --- .../stacks/lotus-node/README.md | 29 ++----------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/stack-orchestrator/stacks/lotus-node/README.md b/stack-orchestrator/stacks/lotus-node/README.md index 073a391..f15202b 100644 --- a/stack-orchestrator/stacks/lotus-node/README.md +++ b/stack-orchestrator/stacks/lotus-node/README.md @@ -67,32 +67,9 @@ Inside deployment directory, open the `config.env` file and set following env va CERC_LOTUS_SNAPSHOT_PATH=/path-to-file/calibnet-snapshot.car.zst ``` -- Some other config values that can be set - ```bash - # Enables the Actor events API that enables clients to consume events - # https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml#L279 - CERC_LOTUS_EVENTS_ENABLEACTOREVENTSAPI=true - - # Enables indexing of messages on chain - # https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml#L325 - CERC_LOTUS_INDEX_ENABLEMSGINDEX=true - - # Enable the splitstore - # https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/blockstore/splitstore#splitstore-an-actively-scalable-blockstore-for-the-filecoin-chain - CERC_LOTUS_CHAINSTORE_ENABLESPLITSTORE=true - - # Delete mappings that have been stored for more than x day in transaction hash lookup database - # https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml#L255 - CERC_LOTUS_FEVM_ETHTXHASHMAPPINGLIFETIMEDAYS=0 - - # Adjust the amount of threads used for more concurrent FMV execution - # Recommended formula for concurrency == YOUR_RAM/4 - # https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/CHANGELOG.md?display=source#L1179 - CERC_LOTUS_FVM_CONCURRENCY=4 - - # If node is a Storage Provider and are pushing many messages within a short period of time, then set to 1 - CERC_LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS=0 - ``` +- Environment variables for Lotus node can be configured by setting them in `config.env` inside deployment directory + - Check [compose file](../../compose/docker-compose-lotus-node.yml) for configured environment variables + - Refer to [default Lotus config](https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml) ## Start the container