hiephtdev / allora-worker

A Dockerized worker setup for the Allora network. This repository provides scripts to configure and run worker nodes, including wallet integration, API key setup, and interaction with the testnet faucet. Monitor worker performance and track points on the Allora leaderboard
13 stars 10 forks source link

QA :) #6

Open xndrgo opened 2 months ago

xndrgo commented 2 months ago

Hi. I have some questions, please help me to solve them!

  1. If logs give: node | {"level": "error", "balance": "0", "time":1724781699, "message": "Worker node does not have enough balance to register, skipping."} node | { "level": "error", "topicId":9, "time":1724781699, "message": "Failed to register worker for topic"} - Does this mean no test points came from the allora faucet?

  2. node_name is the name of the wallet (allorad keys list command) or something else?

  3. I installed the script at root@ai:~/allora-worker/node# - is that correct? or should it be in the allorad folder?

Thanks!

Translated with DeepL.com (free version)

xndrgo commented 2 months ago

And where can I change CoinGeckoApi? In which file? Thx)

hiephtdev commented 1 month ago

You can modify the CGC retrieval flow in update_app.py, where the process will retrieve data over time and store it in the database for caching

hiephtdev commented 1 month ago

Hi. I have some questions, please help me to solve them!

  1. If logs give: node | {"level": "error", "balance": "0", "time":1724781699, "message": "Worker node does not have enough balance to register, skipping."} node | { "level": "error", "topicId":9, "time":1724781699, "message": "Failed to register worker for topic"} - Does this mean no test points came from the allora faucet?
  2. node_name is the name of the wallet (allorad keys list command) or something else?
  3. I installed the script at root@ai:~/allora-worker/node# - is that correct? or should it be in the allorad folder?

Thanks!

Translated with DeepL.com (free version)

  1. It specifically indicates that your wallet does not have enough funds, so please use the faucet. If you have already used the faucet and verified there is a balance, wait for some time and then restart the container until the log shows successful registration.

  2. node_name is your custom name, you can choose any name you want.

  3. You can install it anywhere, the location of the code is not important. As long as the worker runs and produces logs like the ones mentioned, it’s correct