You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while I do understand (after diving into the charon code) that there should be either --nodes flag or --definition-file, from where they are fetched, I believe it should be a bit more clear for the user what to do, with the example code snippets running out of the box.
🛠️ Proposed solution
Remove
WITHDRAWAL_ADDR=[ENTER YOUR WITHDRAWAL ADDRESS HERE]
FEE_RECIPIENT_ADDR=[ENTER YOUR FEE RECIPIENT ADDRESS HERE]
NETWORK="holesky"
if it is not required.
Add the necessary flags to the docker run --rm -v "$(pwd):/opt/charon" --env-file .env obolnetwork/charon:v0.19.0 create cluster command so the user can see what is the bare minimum config required to run. Potentially again with similar [ENTER YOUR WITHDRAWAL ADDRESS HERE] values where necessary.
Or
Add example definition file that the user can use and pass to the docker run --rm -v "$(pwd):/opt/charon" --env-file .env obolnetwork/charon:v0.19.0 create cluster command. Potentially again with similar [ENTER YOUR WITHDRAWAL ADDRESS HERE] values where necessary.
🧪 Tests
Be able to seamlessly follow the instructions 1:1 for running cluster alone via the CLI.
Netlify deployment build tests passing
The text was updated successfully, but these errors were encountered:
This is a bit confusing... it seems that you started on the "launchpad" flow of the docs, but then switched to the CLI flow.
The "git clone" part is missing from the launchpad tab. This is being fixed with PR #343. Other than that, the launchpad flow works fine.
For the CLI flow, it is true that we should be more clear that WITHDRAWAL_ADDR and FEE_RECIPIENT_ADDR are not found in the .env file but rather they are flags that could be added to the "docker run" command. I agree that we should present the docker run command with these flags.
🎯 Problem to be solved
While trying to launch a cluster alone following the CLI in the docs, it didn't seem as streamlined as I hoped for.
In step 1.2 there is code snippet that I don't quite get:
Those values are not exported, neither do they exist in the
.env
.Furthermore in step 1.4 the command:
returns:
while I do understand (after diving into the charon code) that there should be either
--nodes
flag or--definition-file
, from where they are fetched, I believe it should be a bit more clear for the user what to do, with the example code snippets running out of the box.🛠️ Proposed solution
if it is not required.
docker run --rm -v "$(pwd):/opt/charon" --env-file .env obolnetwork/charon:v0.19.0 create cluster
command so the user can see what is the bare minimum config required to run. Potentially again with similar[ENTER YOUR WITHDRAWAL ADDRESS HERE]
values where necessary.Or
Add example definition file that the user can use and pass to the
docker run --rm -v "$(pwd):/opt/charon" --env-file .env obolnetwork/charon:v0.19.0 create cluster
command. Potentially again with similar[ENTER YOUR WITHDRAWAL ADDRESS HERE]
values where necessary.🧪 Tests
Be able to seamlessly follow the instructions 1:1 for running cluster alone via the CLI.
The text was updated successfully, but these errors were encountered: