@@ -69,10 +69,10 @@ api_key = "" # API key (in case the node is protected by API key), adds ?x-ap
6969private_key_file = " ../credentials/pk.txt" # file containing the private key of an account (for voting and mirroring clients), in hex
7070
7171[p_chain_indexer ]
72- enabled = true # enable p-chain indexing
73- timeout = " 1000ms" # call avalanche p-chain indexer every ...
74- batch_size = 10 # batch size to fetch from the node
75- start_index = 0 # start indexing at this block height
72+ enabled = true # enable p-chain indexing
73+ timeout = " 1000ms" # call avalanche p-chain indexer every ...
74+ batch_size = 10 # batch size to fetch from the node
75+ start_index = 0 # start indexing at this block height
7676
7777[uptime_cronjob ]
7878enabled = false # enable uptime monitoring cronjob
@@ -85,16 +85,31 @@ uptime_threshold = 0.8 # minimum uptime ratio in the epoch for a validator to b
8585delete_old_uptimes_epoch_threshold = 5 # delete uptimes older than this epoch
8686
8787[voting_cronjob ]
88- enabled = false # enable voting client
89- timeout = " 10s" # check for new epochs every ...
90- first = 12345 # first epoch to vote for
91- delay = " 10s" # min delay in seconds to send the vote after the epoch ends
88+ enabled = false # enable voting client
89+ timeout = " 10s" # check for new epochs every ...
90+ first = 12345 # first epoch to vote for
91+ delay = " 10s" # min delay in seconds to send the vote after the epoch ends
92+
93+ [voting_cronjob .gas ]
94+ gas_limit = 120000 # Gas limit to set for the transaction execution (empty = estimate)
95+
96+ # type 0 transaction options
97+ # gas_price = ... # Create type 0 transaction: gas price to use for the transaction execution (empty = gas price oracle)
98+
99+ # type 2 transaction (EIP-1559) options
100+ # gas_fee_cap = ... # Gas fee cap to use for the 1559 transaction (type 2) execution (empty = gas price oracle)
101+ # gas_tip_cap = ... # Gas priority fee cap to use for the 1559 transaction (type 2) execution (empty = gas price oracle)
102+
92103
93104[mirroring_cronjob ]
94- enabled = false # enable mirroring client
95- timeout = " 10s" # check for new epochs every ... seconds
96- first = 12345 # first epoch to mirror
97- delay = " 10s" # min delay in seconds to send the vote after the epoch ends
105+ enabled = false # enable mirroring client
106+ timeout = " 10s" # check for new epochs every ... seconds
107+ first = 12345 # first epoch to mirror
108+ delay = " 10s" # min delay in seconds to send the vote after the epoch ends
109+
110+ [mirroring_cronjob .gas ]
111+ gas_limit = 1000000
112+ # see voting_cronjob.gas for other gas options
98113
99114[contract_addresses ]
100115voting = " 0xf956df3800379fdFA31D0A45FDD5001D02F4109c" # voting contract address
0 commit comments