Add doc from PR description

This commit is contained in:
David Boreham 2024-06-11 09:05:41 -06:00
parent 9decbd3221
commit 034e6a3f2e

29
doc/config-info.md Normal file
View File

@ -0,0 +1,29 @@
## Configuration Information
(Copied the text below from the original PR description)
- This PR is based on stack [mainnet-lotus](https://git.vdb.to/cerc-io/stack-orchestrator/src/branch/lotus-stack/stack_orchestrator/data/stacks/mainnet-lotus) in SO branch [lotus-stack](https://git.vdb.to/cerc-io/stack-orchestrator/src/branch/lotus-stack)
- Use manually downloaded snapshot for running Lotus node with `DOCKER_LOTUS_IMPORT_SNAPSHOT` env
- Support running Lotus node for Calibration network
- Use `cerc-io/lotus` release [v1.27.0-rc3-interal-0.0.1](https://git.vdb.to/cerc-io/lotus/releases/tag/v1.27.0-rc3-interal-0.0.1)
- Add Lotus node config params with default values
- `LOTUS_FEVM_ENABLEETHRPC`: true
- [Enables eth_rpc](https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/documentation/en/default-lotus-config.toml#L248)
- `LOTUS_EVENTS_ENABLEACTOREVENTSAPI`: true
- [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)
- `LOTUS_INDEX_ENABLEMSGINDEX`: 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)
- Should be the fix for incorrect `eth_call` behaviour
- `LOTUS_CHAINSTORE_ENABLESPLITSTORE`: 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)
- `LOTUS_FEVM_ETHTXHASHMAPPINGLIFETIMEDAYS`: 0
- [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)
- LOTUS_FVM_CONCURRENCY: 4
- [Adjust the amount of threads used for more concurrent FMV execution](https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/CHANGELOG.md?display=source#L1179)
- LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS: 0
- [If node is a Storage Provider and is pushing many messages within a short period of time, then set to 1](https://git.vdb.to/cerc-io/lotus/src/tag/v1.27.0-rc3-interal-0.0.1/CHANGELOG.md?display=source#L1179)
- Some config params that were set previously but no longer used in release [v1.27.0-rc3-interal-0.0.1](https://git.vdb.to/cerc-io/lotus/releases/tag/v1.27.0-rc3-interal-0.0.1)
- `LOTUS_FEVM_EVENTS_MAXFILTERHEIGHTRANGE`
- `LOTUS_FEVM_EVENTS_FILTERTTL`
- `ALLOWED_DELAY`
- `LOTUS_FEVM_ENABLEETHHASHTOFILECOINCIDMAPPING`