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

Last updated