Updating reporterd
Steps for updating your reporter daemon.
1. Stop your reporter.
2. Remove the old reporterd binary and Configs:
Your file paths may be different. Remember to adjust as needed to remove the files:
rm -rf ~/layer/binaries/reporter/reporterd
rm -rf ~/layer/binaries/reporter/README.md
rm ~/.layer/config/market_params.toml
rm ~/.layer/config/custom_query_config.toml
rm ~/.layer/config/pricefeed_exchange_config.toml3. Update your .env or service file
Compare your .env against the layer-daemons env.example for the current variable names and defaults.
Compare your .service file against the example reporterd service file and update your Environment settings to match the current variable names and defaults.
4. Download the latest reporterd release
Download reporterd v0.2.8:
cd ~/layer/binaries/reporter && wget https://github.com/tellor-io/layer-daemons/releases/download/v0.2.8/reporterd_Linux_x86_64.tar.gz && tar -xvzf reporterd_Linux_x86_64.tar.gz && rm reporterd_Linux_x86_64.tar.gzcd ~/layer/binaries/reporter && wget https://github.com/tellor-io/layer-daemons/releases/download/v0.2.8/reporterd_Darwin_arm64.tar.gz && tar -xvzf reporterd_Darwin_arm64.tar.gz && rm reporterd_Darwin_arm64.tar.gz5. Restart your reporter
Note: The --chain-id flag has been removed. All other CLI flags are optional when configuration is provided via your .env or service file.
Last updated
Was this helpful?

