Commit Graph

11 Commits

Author SHA1 Message Date
29c4adcccd Merge pull request 'Add build CI job' (#6) from dboreham/add-build-ci into main
Some checks failed
Publish Stack Container Images / Publish Stack Container Images (push) Failing after 1m3s
Reviewed-on: #6
2024-06-11 15:40:14 +00:00
18edacb454 Add build CI job 2024-06-11 09:38:27 -06:00
e2aa616f3b Merge pull request 'Fix dockerfile' (#5) from dboreham/fix-dockerfile into main
Reviewed-on: #5
2024-06-11 15:29:34 +00:00
3cfb8830b1 Don't copy Dockerfile into lotus repo dir 2024-06-11 09:25:21 -06:00
ea5e8f7594 Merge pull request 'Add doc from PR description' (#4) from dboreham/add-doc into main
Reviewed-on: #4
2024-06-11 15:10:11 +00:00
034e6a3f2e Add doc from PR description 2024-06-11 09:05:41 -06:00
9decbd3221 Fix file locations
Some checks failed
Publish Stack Container Images / Publish Stack Container Images (push) Failing after 26m40s
2024-06-04 19:33:58 -06:00
f9ecc5b7d7 Merge pull request 'Add CI job to publish images' (#2) from dboreham/add-ci-job into main
Reviewed-on: #2
2024-06-05 01:32:23 +00:00
674e467236 Add CI job 2024-06-04 19:31:40 -06:00
041c52a7cc Implement stack to run lotus-node (mainnet and calibration) (#1)
Part of [Create stack for lotus mainnet and calibration](https://www.notion.so/Create-stack-for-lotus-mainnet-and-calibration-700b4903f2004a4fb440ebb6922da954)

- 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`

Reviewed-on: #1
Reviewed-by: ashwin <ashwin@noreply.git.vdb.to>
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-05-31 16:22:02 +00:00
Nabarun Gogoi
bd254e3dd6
Initial commit 2024-05-23 13:14:36 +05:30