A worker to get the version set on the chain with the substrate-client with a specific interval (for example: 10 mins) for mainnet, testnet, and qanet
- Get the binary
Download the latest from the releases page
- Run the worker
After downloading the binary
sudo cp zos-update-worker /usr/local/bin
zos-update-worker
- you can run the command with:
zos-update-worker --src=tf-autobuilder --dst=tf-zos --interval=10 --main-url=wss://tfchain.grid.tf/ws --main-url=wss://tfchain.grid.tf/ws --test-url=wss://tfchain.test.grid.tf/ws --test-url=wss://tfchain.test.grid.tf/ws --qa-url=wss://tfchain.qa.grid.tf/ws --qa-url=wss://tfchain.qa.grid.tf/ws
make test
make coverage
SUBSTRATE_URLS := map[string][]string{
"qa": {"wss://tfchain.qa.grid.tf/ws"},
"testing": {"wss://tfchain.test.grid.tf/ws"},
"production": {"wss://tfchain.grid.tf/ws"},
}