Jakub Sokołowski
f8f2e33772
attach.sh: fix position of --exec argument
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-12-09 13:05:36 +01:00
Jakub Sokołowski
98838533df
upgrade Geth from 1.10.25 to 1.10.26
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.26
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-17 13:44:12 +01:00
Jakub Sokołowski
ef8b393d1c
docker: drop deprecated --nousb flag
...
```
Option nousb is deprecated and USB is deactivated by default. Use --usb to enable
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-25 12:08:02 +02:00
Jakub Sokołowski
5504373808
docker: increase stop_grace_period to 1 minute
...
Geth data can be corrupted when Docker sends SIGKILL after 10s.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-24 22:10:13 +02:00
Jakub Sokołowski
4583821179
extend --ws.origins value to be same as rpc
...
Defaulting to `localhost` might be causing issues when `nim-waku` nodes
are trying to connect. For some reason there's no clear error like with RPC.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-17 19:15:23 +02:00
Jakub Sokołowski
c2f7fac2a0
upgrade form 1.10.23 to 1.10.25
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.25
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-16 21:21:21 +02:00
Jakub Sokołowski
dcc07cdefe
docker: sort vhosts and bootnodes
...
To avoid unnecessary restarts.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-07 13:23:00 +02:00
Jakub Sokołowski
773c384dcc
ugprade from 1.10.21 to 1.10.23
...
This includes a fix for data corruption caused by 1.10.22 and requires
the node to be re-synced from the point when it was upgraded to 1.10.22.
This can be achieved using the `debug_setHead` RPC call or `debug.setHead()`
function in the JS console, given the block before the upgrade.
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.23
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-24 13:39:54 +02:00
Jakub Sokołowski
efbed3e7a4
roll back upgrade to 1.10.22 to 1.10.21
...
It includes some kind of state corruption bug:
https://twitter.com/peter_szilagyi/status/1561947614471507968
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-23 17:53:01 +02:00
Jakub Sokołowski
13c92d58cc
upgrade from 1.10.21 to 1.10.22
...
This release enables the Merge for the Ethereum mainnet at a
Terminal Total Difficulty of 58_750_000_000_000_000_000_000.
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.22
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-22 14:01:11 +02:00
Jakub Sokołowski
24993a45c7
jwt: let Geth generate secret by itself
...
Using `password_hash` doesn't work as the value has to be hex encoded.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-16 16:40:33 +02:00
Jakub Sokołowski
da7ee8c266
consul: add scope:main to tags by default
...
Without scope we can't select which metrics we want to collect.
This is especially important for `eth2.prod` which has it's own
Prometheus instance and its metrics should not go to our main cluster.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-16 16:18:14 +02:00
Jakub Sokołowski
fb1897650c
support configuration of Auth RPC for Engine API
...
This is required for communication with consensus layer nodes:
https://geth.ethereum.org/docs/interface/consensus-clients
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-11 11:42:02 +02:00
Jakub Sokołowski
6e2e211e19
upgrade from 1.10.20 to 1.10.21
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.21
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-29 10:39:49 +02:00
Jakub Sokołowski
6e1474f7ab
upgrade from 1.10.19 to 1.10.20
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.20
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-05 18:49:51 +02:00
Jakub Sokołowski
226406b29f
upgrade from 1.10.18.to 1.10.19
...
Necessary for mainnet difficulty bomb:
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.19
https://blog.ethereum.org/2022/06/16/gray-glacier-announcement/
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-26 11:55:53 +02:00
Jakub Sokołowski
8dd7ad6be9
api: enable engine module for websockets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-21 16:35:10 +02:00
Jakub Sokołowski
4246694d30
enable required for merge engine API module
...
https://github.com/status-im/infra-nimbus/issues/97
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-08 19:05:57 +02:00
Jakub Sokołowski
11cdfe59ff
consul: add network name to service name
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-03 11:26:12 +02:00
Jakub Sokołowski
5f65cfeefe
consul: fix ids and names to be more consistent
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-03 11:16:07 +02:00
Jakub Sokołowski
3de59d6ae7
upgrade from 1.10.17 to 1.10.18
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.18
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-26 00:30:26 +02:00
Jakub Sokołowski
17921f48e9
upgrade from 1.10.16 to 1.10.17
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.17
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-25 12:21:05 +02:00
Tanguy
d737b1d0ba
Allow get account addresse override
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-25 12:21:01 +02:00
Jakub Sokołowski
9647eaeaf5
support optional geth_network_id
...
Useful to start testnets which don't have a dedicated flag defined.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-11 12:28:57 +01:00
Jakub Sokołowski
e7cef83dd8
consul: make WebSocket optional in Consul services
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-07 10:46:34 +01:00
Jakub Sokołowski
2689c6ccae
upgrade from 1.10.15 to 1.10.16
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-07 10:31:01 +01:00
Jakub Sokołowski
746959aa0e
upgrade from 1.10.14 to 1.10.15
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.15
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-07 12:47:43 +01:00
Jakub Sokołowski
d199eb72d1
upgrade from 1.10.13 to 1.10.14
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.14
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-03 16:51:10 +01:00
Jakub Sokołowski
1926a316ba
upgrade from 1.10.11 to 1.10.13
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.13
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-12-02 13:04:46 +01:00
Jakub Sokołowski
3a9b7e8346
consul: provide URLs for WebSocket and RPC ports
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-12-02 12:52:10 +01:00
Jakub Sokołowski
47b3de7059
upgrade from 1.10.8 to 1.10.11
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.11
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-25 10:23:41 +02:00
Jakub Sokołowski
729b336a3a
consul: add failures_before_critical=3
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-15 14:35:30 +02:00
Jakub Sokołowski
87b6be842f
default WebSocket port to using localhost address
...
It's equally as sensitive as the JSON RPC API endpoint.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-25 15:20:41 +02:00
Jakub Sokołowski
bb265a41b6
upgrade Geth 1.10.6 to 1.10.8
...
Hotfix release to patch a vulnerability in the EVM: CVE-2021-39137
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.8
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-25 11:38:44 +02:00
Jakub Sokołowski
5b91c936dc
firewall: add rules to new SERVICES chain
...
https://github.com/status-im/infra-hq/issues/69
https://github.com/status-im/infra-role-bootstrap-linux/commit/92d8923b
https://github.com/status-im/infra-role-wireguard/commit/8394639e
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-02 19:39:55 +02:00
Jakub Sokołowski
06966616e6
upgrade 1.10.3 to 1.10.6 for London hard-fork
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.6
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-22 17:08:01 +02:00
Jakub Sokołowski
7b27e0f75a
fix geth_rpc_wrapper variable typo
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-07 18:44:02 +02:00
Jakub Sokołowski
3eb688d771
upgrade 1.10.1 to 1.10.3
...
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.3
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-07 18:40:09 +02:00
Jakub Sokołowski
e85230e6d7
replace Tinc VPN with WireGuard
...
https://github.com/status-im/infra-hq/issues/58
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-19 23:02:25 +02:00
Jakub Sokołowski
c3b51f0799
make location of rpc.sh wrapper customizable
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-11 12:17:34 +02:00
Jakub Sokołowski
5ad36567e8
templates/rpc.hs: fix PARAMS, rop PARAMS_STR and quotes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-11 11:54:14 +02:00
Jakub Sokołowski
f76e6f3779
fix RPC address if it's not localhost
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 14:59:08 +02:00
Jakub Sokołowski
27ff1d257b
support running init before container creation
...
This allows for providing a custom genesis config file.
For more details see:
https://github.com/status-im/infra-nimbus/issues/53
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 14:33:40 +02:00
Jakub Sokołowski
8d2eeb8961
add support for geth_extra_flags list
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 13:58:48 +02:00
Jakub Sokołowski
682b6ffeb3
fix typo in task name reading account json
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-09 16:00:28 +02:00
Jakub Sokołowski
c67fc0ef6c
swap limits are not supported by docker-compose
...
https://stackoverflow.com/questions/44325949/
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 20:47:42 +01:00
Jakub Sokołowski
18382d60d1
use rpc.sh script for RPC healthcheck
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 13:56:04 +01:00
Jakub Sokołowski
1db9eb2f6c
use geth_cont_name for Consul service name
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 13:50:04 +01:00
Jakub Sokołowski
c5ef3a4f2d
put wrappers under geth_service_path
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 13:49:49 +01:00
Jakub Sokołowski
4cdf6e0e53
rename geth_aliases to geth_rpc_vhosts, add geth_cont_name
...
Fixes 403 Forbidden errors on connections between containers.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 12:57:47 +01:00