Jakub Sokołowski
ebfece8f56
service: move config flags to separate TOML file
...
This can be useful in the future to expose config.
It also makes it easier to run service by hand when debugging.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-13 11:44:45 +02:00
Jakub Sokołowski
1ec3d72aae
consul: add consul interval, timeout, disabled vars
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-23 12:47:25 +02:00
Jakub Sokołowski
e9aa360406
config: fix location of data path variable
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-26 14:06:23 +01:00
Jakub Sokołowski
9799dfb916
service: drop obsolete --slashing-db-kind flag
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-28 23:39:29 +02:00
Jakub Sokołowski
eff50d70df
update list of valid network names, add holesky
...
https://github.com/status-im/infra-nimbus/issues/152
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-15 08:19:36 +02:00
Jakub Sokołowski
17f18a0e44
service: use new --validator-monitor-details flag
...
Replaced `--validator-monitor-totals` in:
https://github.com/status-im/nimbus-eth2/pull/4468
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-07 18:09:56 +02:00
Etan Kissling
de22753601
service: allow configuring --rest-allow-origin
...
Signed-off-by: Etan Kissling <etan@status.im>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-05 12:39:16 +02:00
Etan Kissling
6bb0d08b6f
service: apply rest-max-body-size and rest-max-headers-size
...
Those two options are applied in `infra-role-beacon-node-linux`;
do the same for Windows.
Signed-off-by: Etan Kissling <etan@status.im>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-05 12:35:13 +02:00
Jakub Sokołowski
e3d9f50136
set default history retention to prune
...
To match the new default in the upcoming beacon node release.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-23 18:31:04 +02:00
Jakub Sokołowski
dba21b36df
service: use new --el flag instead of --web3-url
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-15 11:36:31 +01:00
Jakub Sokołowski
53dc3b1724
service: add beacon_node_history_retention
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-31 15:53:31 +01:00
Jakub Sokołowski
e9afc5d210
service: drop deprecated RPC flags
...
https://github.com/status-im/infra-nimbus/issues/130
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-25 12:14:55 +02:00
Jakub Sokołowski
ac7696dae9
configure secrets and validators paths explicitly
...
Necessary to later provide `/var/empty` as path for both in order to use
validator client service instead of loading validators directly.
https://github.com/status-im/infra-nimbus/issues/122
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-12 16:47:54 +02:00
Jakub Sokołowski
eb0cc3a4c1
add support for beacon_node_era_dir_path var
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-12 16:47:53 +02:00
Jakub Sokołowski
6a9e7381a8
rpc.sh: drop RPC wrapper for deprecated API
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-12 14:10:59 +02:00
Jakub Sokołowski
8c32d2937c
add support for --suggested-fee-recipient flag
...
https://nimbus.guide/suggested-fee-recipient.html
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-17 17:32:47 +02:00
Jakub Sokołowski
d24d404206
add support for specifying Web3 JWT secret
...
Necessary to use the new Auth RPC endpoint for Engine API:
https://geth.ethereum.org/docs/interface/consensus-clients
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-11 16:09:32 +02:00
Etan Kissling
c1b64c6113
update LC data defaults ( #5 )
...
Syncs LC data defaults with `nimbus-eth2` -> `beacon_chain/conf.nim`.
Signed-off-by: Etan Kissling <etan@status.im>
2022-07-29 20:53:41 +02:00
Jakub Sokołowski
3fe9e2b307
drop unused secrets and validators vars
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-20 14:07:40 +02:00
Jakub Sokołowski
846c428b1a
drop pointless shared_ subfolder from data path
...
It was something compied from `nimbus-eth2` repo that has no purpose on
server hosts, and makes Ansible rolles more confusing with extra variables.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-15 10:46:14 +02:00
Jakub Sokołowski
76d6d8d59b
drop -d:testnet_servers_image from build flags
...
No longer has any effect.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-29 08:32:24 +02:00
Etan Kissling
4da487fc20
add beacon_node_light_client_data_max_periods
...
Allows overriding `--light-client-data-max-periods` as introduced in
https://github.com/status-im/nimbus-eth2/pull/3799
Signed-off-by: Etan Kissling <etan@status.im>
2022-06-27 17:23:31 +02:00
Etan Kissling
48f5c10dca
renamed BN light client data options
...
Adjusts for the new names of BN light client data config options
* `--serve-light-client-data` --> `--light-client-data-serve`
* `--import-light-client-data` --> `--light-client-data-import-mode`
Signed-off-by: Etan Kissling <etan@status.im>
2022-06-14 11:14:33 +02:00
Jakub Sokołowski
f7b8578873
add beacon_node_extra_flags variable
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-02 18:05:47 +02:00
Jakub Sokołowski
c2f22db04b
drop redundant --proposer-boosting-debug flag
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-12 20:08:07 +02:00
Etan Kissling
eb51f129e1
add beacon_node_light_client_data_* variables ( #2 )
...
To control the `--serve-light-client-data` and
`--import-light-client-data` flags.
Signed-off-by: Etan Kissling <etan@status.im>
2022-03-25 16:57:16 +01:00
Jakub Sokołowski
8599494a48
disable JSON-RPC API port by default
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-22 18:55:10 +01:00
Jakub Sokołowski
b0ecd6d9da
add beacon_node_proposer_boosting_debug variable
...
To control the `--proposer-boosting-debug` flag.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-07 12:26:58 +01:00
Jakub Sokołowski
5eab965d00
add support for --validator-monitor-pubkey flags
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-27 20:44:10 +01:00
Jakub Sokołowski
bcca6097e1
parametrize --validator-monitor-* flags
...
They enable extra metrics and log messages for validator monitoring.
https://nimbus.guide/validator-monitor.html
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-14 12:56:10 +01:00
Jakub Sokołowski
f6dd9dd644
build: parametrize nim build flags and log level
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-05 19:14:44 +01:00
Jakub Sokołowski
6b5e2adbb5
add support for --log-stdout flag that controls format
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-03 08:55:10 +01:00
Jakub Sokołowski
235f5fcc1b
change log folder to be logs, move build logs there
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-04 20:38:38 +02:00
Jakub Sokołowski
fae35916a1
build: rename service to have build- prefix
...
This distinguishes it better from the node service itself.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-29 15:15:33 +02:00
Jakub Sokołowski
ee8029b0bf
build: keep only 3 days worth of builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-29 15:15:29 +02:00
Zahary Karadjov
5fe4fb03e2
Allow overriding more CLI options
2021-09-20 13:54:43 +03:00
Jakub Sokołowski
338e74d6e6
add rpc.sh script for easier JSON RPC calls
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-29 09:13:54 +02:00
Jakub Sokołowski
337bda905d
rename tasks/schedule to tasks/build, use relative path
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-22 17:03:59 +02:00
Jakub Sokołowski
a7a3f0f733
use backslashes for windows paths
...
https://docs.ansible.com/ansible/latest/user_guide/windows_usage.html#path-formatting-for-windows
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-19 09:33:35 +02:00
Jakub Sokołowski
42d5dfa5e9
use dist-validators role to deploy validators
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-16 15:10:54 +02:00
Jakub Sokołowski
6cf15672f3
add network name to service name, fix consul name
...
If service name in Consul isn't beacon-node the scraping won't work.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-29 14:36:23 +02:00
Jakub Sokołowski
c114a9c28c
do not create the --data-dir using Ansible
...
It makes the permissions too wide.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-21 17:14:52 +02:00
Jakub Sokołowski
9889971ab5
add Consul service definition for beacon node
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-19 01:46:41 +02:00
Jakub Sokołowski
d1ecc61707
fix waiting for scheduled task build to finish
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-17 13:20:52 +02:00
Jakub Sokołowski
d380606e39
add buils.sh script template and schedule builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-10 17:54:27 +02:00
Jakub Sokołowski
86604067f7
add initial setup
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-03 11:05:42 +02:00