fetchai / fetchd

Source code for Fetch.ai blockchain nodes
Other
100 stars 38 forks source link

Bug report: Docker Image fetchai/fetchd:0.10.7 is not working with testnet Dorado "dorado-1" #316

Open erNail opened 1 year ago

erNail commented 1 year ago

Prerequisites

Expected Behavior

I want to run a docker container with the image fetchai/fetchd:0.10.7. I have set the environment variable $NETWORK to dorado. I expect the container to start without any errors. These are the commands i am using:

docker run -e NETWORK=dorado-1 -e MONIKER=test fetchai/fetchd:0.10.7
docker run -e NETWORK=dorado -e MONIKER=test fetchai/fetchd:0.10.7

Current Behavior

After executing the docker run, i receive an error:

parse error: Expected string key before ':' at line 1, column 4

This error is caused in the entrypoint script

The script is trying to execute the following:

bootstrap_url="https://raw.githubusercontent.com/fetchai/networks-$NETWORK/feature/next/bootstrap/boostrap.json"

The URL's https://raw.githubusercontent.com/fetchai/networks-dorado/feature/next/bootstrap/boostrap.json and https://raw.githubusercontent.com/fetchai/networks-dorado-1/feature/next/bootstrap/boostrap.json do not exist, which causes the error.

To Reproduce

Execute the following:

docker run -e NETWORK=dorado -e MONIKER=test fetchai/fetchd:0.10.7
docker run -e NETWORK=dorado-1 -e MONIKER=test fetchai/fetchd:0.10.7

Context

Failure Logs

See above