Skip to content

Test pr 30#32

Open
0xSpuddy wants to merge 17 commits into
mainfrom
test-pr-30
Open

Test pr 30#32
0xSpuddy wants to merge 17 commits into
mainfrom
test-pr-30

Conversation

@0xSpuddy
Copy link
Copy Markdown
Contributor

merges #30 and #29 and handles minor conflicts of code and behavior.

@0xSpuddy
Copy link
Copy Markdown
Contributor Author

Currently running this branch on "tank".
Have not manually tested all combinations of options yet. That said, everything is working as expected with this service file (examplified):

[Unit]
Description=Layer Reporter
After=network-online.target

[Service]
User=reporter
Group=reporter
Environment="FROM=reporter"
Environment="KEYRING_BACKEND=test"
Environment="LAYER_HOME=/home/reporter/.layer"
Environment="GRPC_NODES=0.0.0.0:9090,http://xx.xx.xx.xx:9090"
Environment="RPC_NODES=tcp://0.0.0.0:26657,http://xx.xx.xx.xx:26657"
Environment="ETH_MAINNET_RPC_NODES=https://mainnet.infura.io/v3/bbd4bd1882554e1bb420b94e4f1fc346,https://eth-mainnet.g.alchemy.com/v2/..."
Environment="BRIDGE_CHAIN_RPC_NODES=https://sepolia.infura.io/v3/bbd4bd1882554e1bb420b94e4f1fc346,https://sepolia.infura.io/v3/..."
Environment="REPORTERS_VALIDATOR_ADDRESS=tellorvaloper198dvh9n2d7aqvrxzcsdfz73xtkv9jcjvpv3y62"
Environment="WITHDRAW_FREQUENCY=86400"
Environment="AUTO_UNBONDING_FREQUENCY=1"
Environment="AUTO_UNBONDING_AMOUNT=1690000"
Environment="AUTO_UNBONDING_MAX_STAKE_PERCENTAGE=0.1"
Environment="AUTO_BALANCE_TO_KEEP=5000000"
Environment="AUTO_BALANCE_EXECUTION_TIME=03:00"
Environment="AUTO_BALANCE_BRIDGE_TO_ETH_ADDR=..."
Environment="CMC_PRO_API_KEY=..."
Environment="SUBGRAPH_API_KEY=..."
Environment="CGPRO_API_KEY=..."
Environment="INFURA_API_KEY=..."
Environment="ALCHEMY_API_KEY=..."
ExecStart=/home/reporter/layer/binaries/reporter/layer-daemons/bin/reporterd
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant