-
Notifications
You must be signed in to change notification settings - Fork 20k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private network from 1.14 #30015
Comments
The package was moved just recently. Please use |
thanks, that package works. a side question, how do I configure the 'persistent storage' and expose the port ? I noticed that it is using the docker engine but not familiar with how to configure it(only know docker-compose/kube). |
The relevant ports are already exposed to your localhost. You can see those when it prints the list of services after bootstrapping the enclave. As for persistent storage, I see that there is a flag for it in ethereum-package. It's a top-level boolean |
while the services are started successfully, the rpc endpint always give me reset by peer error(even with the correct localhost:port), like below curl -X POST -H "Content-Type: application/json" --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' http://127.0.0.1:54589 while if I get into the container via the shell command(which seems to be missing the 'service' command in the doc), and do geth attach inside(both socket or http) and it worked as expected also the kurtosis service logs also shows nothing even though if I do the raw 'docker logs ' shows me the logs |
another question is how to control the stability of the port mapping use, as each time I start(after bring down the kurtosis enclave), I get a set of different external ports |
I faintly remember on linux, I have to define the host-gateway(in docker-compose), would this be the reason extra_hosts: |
It seems like this feature is WIP. |
given that 1.14 has removed everything except POS, I followed the recommended below
https://geth.ethereum.org/docs/fundamentals/kurtosis
to start new private network. And notice two issues so far:
the command to start from the page seems to be wrong(extra `)
kurtosis run github.com/kurtosis-tech/ethereum-package --args-file ./network_params.yaml` --image-download always
after removing it, it starts but failed as followed(package issue?), so what is the proper way to running a private network ?
root@hqprdubada:/mnt/data3/ethereum# kurtosis run github.com/kurtosis-tech/ethereum-package --args-file ./private3151908.yaml --image-download always
INFO[2024-06-17T11:25:38-07:00] Creating a new enclave for Starlark to run inside...
INFO[2024-06-17T11:25:40-07:00] Enclave 'timid-shore' created successfully
There was an error interpreting Starlark code
Error occurred while validating /kurtosis-data/repositories/kurtosis-tech/ethereum-package/kurtosis.yml
Caused by: The package name in kurtosis.yml must match the location it is in. Package name is 'github.com/ethpandaops/ethereum-package' and kurtosis.yml is found here: 'github.com/kurtosis-tech/ethereum-package'
INFO[2024-06-17T11:25:41-07:00] ====================================================
INFO[2024-06-17T11:25:41-07:00] || Created enclave: timid-shore ||
INFO[2024-06-17T11:25:41-07:00] ====================================================
Name: timid-shore
UUID: b082f559d2cc
Status: RUNNING
Creation Time: Mon, 17 Jun 2024 11:25:38 PDT
Flags:
========================================= Files Artifacts =========================================
UUID Name
========================================== User Services ==========================================
UUID Name Ports Status
The text was updated successfully, but these errors were encountered: