Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Running dealbot on other networks #361

Open
travisperson opened this issue Jan 27, 2022 · 1 comment
Open

Running dealbot on other networks #361

travisperson opened this issue Jan 27, 2022 · 1 comment

Comments

@travisperson
Copy link

For the testing of the OhSnap FIP on the butterfly network a request was made to deploy an instance of dealbot for the butterfly network to automation deal making for robust testing of the network upgrade. This contains the general issues faced during the deployment / use of dealbot.

I was able to some what successfully make the deployment (controller) by referencing the nerpanet deployment, but ran into issues when trying to start a dealbot daemon.

  1. When trying to create a dealbot daemon, the form values for the docker repo and image label were not submitted with the http request to create the daemon. Maybe related to Image tag API does not work for setting lotus versions for spawning dealbots #357.

  2. Dealbot depends on the docker container produced by the lotus development team which is only produced for mainnet. Supporting dealbot for butterfly, or other networks would require building additional docker containers. Building the additional container itself isn't an issue but would be a one off and if not done carefully could introduce tech-debt to the lotus project / community (this is a lotus issue, but here for context).

  3. Dealbot controller uses a helm chart (lotus-bundle) which is hardcoded[0] for mainnet and making any changes to the chart would required additional development in dealbot to support the changes, which could affect the running dealbot mainnet service.

[0] https://github.com/filecoin-project/helm-charts/blob/dealbot-0.0.12/charts/lotus-bundle/templates/statefulset.yaml#L179-L180

@coryschwartz
Copy link

Currently, lotus doesn't produce nerpanet or calibrationnet docker images, so we would have to build them manually

This PR could be useful for making code usable on multiple networks.

This PR might help with this filecoin-project/lotus#8158

regardless, Travis is right that we have mainnet snapshot imports, and that'd need to be changed regardless.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants