thedayofnode
  • Welcome
  • Active Node
    • Kuzco
    • Gaianet
    • Allora Worker
      • Upgrade allora-offchain-node v0.5.1
      • Upgrade allora-offchain-node v0.6.0
    • Vana - SixGPT
      • Debug some error
  • Snippet
    • VPS Health Check
    • Upgrade Podman
    • Upgrade Ubuntu 22.04
Powered by GitBook
On this page
  1. Active Node
  2. Allora Worker

Upgrade allora-offchain-node v0.6.0

Update config.json file

{
    "wallet": {
        "addressKeyName": "test",
        "addressRestoreMnemonic": "",
        "alloraHomeDir": "",
        "gas": "auto",
        "gasAdjustment": 1.5,
        "gasPrices": 0.08,
        "maxFees": 200000,
        "nodeRpc": "",
        "maxRetries": 5,
        "retryDelay": 3,
        "accountSequenceRetryDelay": 5,
        "submitTx": true,
        "blockDurationEstimated": 10,
        "windowCorrectionFactor": 0.8
    },
    "worker": [
        {
            "topicId": 7,
            "inferenceEntrypointName": "api-worker-reputer",
            "loopSeconds": 5,
            "parameters": {
                "InferenceEndpoint": "http://inference:8000/inference/{Token}",
                "Token": "ETH"
            }
        },
        {
            "topicId": 8,
            "inferenceEntrypointName": "api-worker-reputer",
            "loopSeconds": 5,
            "parameters": {
                "InferenceEndpoint": "http://inference:8000/inference/{Token}",
                "Token": "BNB"
            }
        },
        {
            "topicId": 9,
            "inferenceEntrypointName": "api-worker-reputer",
            "loopSeconds": 5,
            "parameters": {
                "InferenceEndpoint": "http://inference:8000/inference/{Token}",
                "Token": "ARB"
            }
        }
    ]
}

Then run the following commands:

clear
chmod +x init.config
./init.config

In the docker-compose.yaml file, update the image to version v0.6.0 as follows:

image: alloranetwork/allora-offchain-node:v0.6.0

Then run the following commands:

docker compose down -v
docker compose up --build
PreviousUpgrade allora-offchain-node v0.5.1NextVana - SixGPT

Last updated 7 months ago