Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.3.1 #359

Merged
merged 20 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
matrix:
include:
- os: ubuntu-latest
go: '1.19'
go: '1.21'
- os: macos-latest
go: '1.19'
go: '1.21'
- os: windows-latest
go: '1.21'
runs-on: ${{ matrix.os }}
Expand All @@ -27,10 +27,10 @@ jobs:
git config --global core.eol lf

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
matrix:
include:
- os: ubuntu-latest
go: '1.19'
go: '1.21'
- os: windows-latest
go: '1.21'
runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

Expand All @@ -39,7 +39,7 @@ jobs:
run: make generate && go test ./...

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
if: matrix.os == 'ubuntu-latest'
with:
fail_ci_if_error: true
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v1.3.1] - 2024-02-13
stdevMac marked this conversation as resolved.
Show resolved Hide resolved

### Fixed

- Fix lodestar and lighthouse new versions flag issue.
stdevMac marked this conversation as resolved.
Show resolved Hide resolved

### Changed

- Update client images.

## [v1.3.0] - 2023-12-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ install-mockgen: ## install mockgen
go install github.com/golang/mock/[email protected]

install-courtney: ## Install courtney for code coverage
@git clone https://github.com/stdevMac/courtney
@git clone https://github.com/dave/courtney
@(cd courtney && go get ./... && go build courtney.go)
@go get ./...

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --suggested-fee-recipient=${FEE_RECIPIENT}
- --validator-monitor-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ services:
- --rest-api-host-allowlist=*
- --rest-api-enabled=true
- --rest-api-port=4000
- --eth1-endpoints=${EC_NODE}
- --eth1=${EC_NODE}
- --eth1-deposit-contract-max-request-size=150
logging:
driver: "json-file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ services:
- --rest-api-host-allowlist=*
- --rest-api-enabled=true
- --rest-api-port=4000
- --eth1-endpoints=${EC_NODE}
- --eth1=${EC_NODE}
- --eth1-deposit-contract-max-request-size=150
logging:
driver: "json-file"
Expand Down
2 changes: 1 addition & 1 deletion cli/testdata/run_tests/no_env/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --validator-monitor-auto
- --subscribe-all-subnets
Expand Down
2 changes: 1 addition & 1 deletion cli/testdata/run_tests/no_version/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --validator-monitor-auto
- --subscribe-all-subnets
Expand Down
2 changes: 1 addition & 1 deletion cli/testdata/run_tests/valid/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ services:
- --target-peers=${CC_PEER_COUNT}
- --execution-endpoints=${EC_AUTH_URL}
- --execution-jwt=/tmp/jwt/jwtsecret
- --eth1-endpoints=${EC_API_URL}
- --eth1=${EC_API_URL}
- --debug-level=${CC_LOG_LEVEL}
- --validator-monitor-auto
- --subscribe-all-subnets
Expand Down
24 changes: 12 additions & 12 deletions configs/client_images.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
execution:
geth:
name: ethereum/client-go
version: v1.13.5
version: v1.13.12
besu:
name: hyperledger/besu
version: 23.10.2
version: 24.1.1
nethermind:
name: nethermind/nethermind
version: 1.23.0
version: 1.25.3
erigon:
name: thorax/erigon
version: v2.55.1
version: v2.57.3
consensus:
lighthouse:
name: sigp/lighthouse
version: v4.5.0
version: v4.6.0
lodestar:
name: chainsafe/lodestar
version: v1.12.0
version: v1.15.1
teku:
name: consensys/teku
version: 23.11.0
version: 24.1.1
prysm:
name: gcr.io/prysmaticlabs/prysm/beacon-chain
version: v4.1.1
version: v4.2.1
validator:
lighthouse:
name: sigp/lighthouse
version: v4.5.0
version: v4.6.0
lodestar:
name: chainsafe/lodestar
version: v1.12.0
version: v1.15.1
teku:
name: consensys/teku
version: 23.11.0
version: 24.1.1
prysm:
name: gcr.io/prysmaticlabs/prysm/validator
version: v4.1.1
version: v4.2.1
2 changes: 1 addition & 1 deletion docs/docs/commands/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This is an example of what you can expect:
```
sedge cli
2023-03-20 21:54:08 -- [INFO] [Logger Init] Log level: info
2023-03-20 21:54:08 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-03-20 21:54:08 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
? Select network goerli
? Select node type full-node
? Generation path /root/sedge-data
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/commands/clients.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The execution of `sedge clients` will result in an output like this, that will s
```
$ sedge clients
2023-10-13 14:13:44 -- [INFO] [Logger Init] Log level: info
2023-10-13 14:13:45 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-10-13 14:13:45 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2023-10-13 14:13:45 -- [INFO] Listing supported clients for network chiado

# Execution Clients Consensus Clients Validator Clients
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/commands/deps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The execution of `sedge deps check` will result in an output like this if everyt
```
$ sedge deps check
2023-03-21 02:56:04 -- [INFO] [Logger Init] Log level: info
2023-03-21 02:56:05 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-03-21 02:56:05 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2023-03-21 02:56:05 -- [INFO] docker is installed
2023-03-21 02:56:06 -- [INFO] All dependencies are installed and running
```
2 changes: 1 addition & 1 deletion docs/docs/commands/down.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The execution of `sedge down` will close and remove all the opened containers an
```
$ sedge down
2022-00-00 00:00:00 -- [INFO] [Logger Init] Log level: info
2022-00-00 00:00:00 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2022-00-00 00:00:00 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
[sudo] password for maceo:
[+] Running 7/7
⠿ Container execution-client Removed 93.8s
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/commands/importKey.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To import the validator keys, and start the validator client after the import, r
```shell
$ sedge import-key --from keystore -n sepolia --start-validator prysm
2023-01-26 11:59:34 -- [INFO] [Logger Init] Log level: info
2023-01-26 11:59:34 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-01-26 11:59:34 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
# highlight-next-line
2023-01-26 11:59:34 -- [WARN] The keys path is not the default one, copying the keys to the default path /root/sedge/example/sedge-data/keystore
2023-01-26 11:59:34 -- [INFO] Importing validator keys
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/commands/networks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Global Flags:
```
$ sedge networks
2022-00-00 00:00:00 -- [INFO] [Logger Init] Log level: info
2022-00-00 00:00:00 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2022-00-00 00:00:00 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2022-00-00 00:00:00 -- [INFO] Listing supported networks

# Supported Networks
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/commands/run.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ the following command to start all services in the default generation path
$ sedge run
Using config file: /root/.sedge.yaml
2022-12-29 19:55:55 -- [INFO] [Logger Init] Logging configuration: {Level:debug}
2022-12-29 19:55:55 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2022-12-29 19:55:55 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2022-12-29 20:40:24 -- [INFO] Checking dependencies: docker
2022-12-29 20:40:24 -- [INFO] All dependencies are installed on host machine
2022-12-29 19:55:55 -- [INFO] Setting up containers
Expand Down Expand Up @@ -109,7 +109,7 @@ start the validator.
$ sedge run --services execution,consensus
Using config file: /root/.sedge.yaml
2022-12-29 21:03:29 -- [INFO] [Logger Init] Logging configuration: {Level:debug}
2022-12-29 21:03:29 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2022-12-29 21:03:29 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2022-12-29 21:03:29 -- [INFO] Checking dependencies: docker
2022-12-29 21:03:29 -- [INFO] All dependencies are installed on host machine
2022-12-29 21:03:29 -- [INFO] Setting up containers
Expand Down Expand Up @@ -154,7 +154,7 @@ Now you can start the validator client like follow:
$ sedge run --services validator
Using config file: /root/.sedge.yaml
2022-12-29 21:24:12 -- [INFO] [Logger Init] Logging configuration: {Level:debug}
2022-12-29 21:24:12 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2022-12-29 21:24:12 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2022-12-29 21:24:12 -- [INFO] Checking dependencies: docker
2022-12-29 21:24:12 -- [INFO] All dependencies are installed on host machine
2022-12-29 21:24:12 -- [INFO] Setting up containers
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/commands/show.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Global Flags:
```
$ sedge show
2023-00-00 00:00:00 -- [INFO] [Logger Init] Log level: info
2023-00-00 00:00:00 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-00-00 00:00:00 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2023-00-00 00:00:00 -- [INFO] Showing existing containers information
2023-00-00 00:00:00 -- [INFO] containers:
- name: sedge-execution-client
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/commands/slashingExport.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ This is an example of exporting slashing protection data from a setup using sepo
```shell
$ sedge slashing-export lighthouse -n sepolia --out slashing-protection.json
2023-01-06 15:47:56 -- [INFO] [Logger Init] Log level: info
2023-01-06 15:47:57 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-01-06 15:47:57 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2023-01-06 15:47:57 -- [INFO] Exporting slashing data from client lighthouse
# highlight-next-line
2023-01-06 15:47:57 -- [INFO] The slashing protection container is starting...
Expand All @@ -72,7 +72,7 @@ Notice in this case the validator client remains stopped because it has been sto
```shell
$ sedge slashing-export lighthouse -n sepolia --out slashing-protection.json --start-validator
2023-01-06 15:51:11 -- [INFO] [Logger Init] Log level: info
2023-01-06 15:51:11 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-01-06 15:51:11 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
2023-01-06 15:51:11 -- [INFO] Exporting slashing data from client lighthouse
2023-01-06 15:51:11 -- [INFO] The slashing protection container is starting...
2023-01-06 15:51:12 -- [INFO] The slashing container ends successfully.
Expand All @@ -87,7 +87,7 @@ Another case may be exporting the slashing data protection when the validator is
```shell
$ sedge slashing-export lighthouse -n sepolia --out slashing-protection.json
2023-01-06 15:51:46 -- [INFO] [Logger Init] Log level: info
2023-01-06 15:51:46 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-01-06 15:51:46 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
# highlight-next-line
2023-01-06 15:51:46 -- [INFO] Stopping validator client
# highlight-next-line
Expand All @@ -108,7 +108,7 @@ In this case, the validator client is stopped before the export and started agai
```shell
$ sedge slashing-export lighthouse -n sepolia --out slashing-protection.json --stop-validator
2023-01-06 15:52:07 -- [INFO] [Logger Init] Log level: info
2023-01-06 15:52:07 -- [INFO] You are running the latest version of sedge. Version: v1.3.0
2023-01-06 15:52:07 -- [INFO] You are running the latest version of sedge. Version: v1.3.1
# highlight-next-line
2023-01-06 15:52:07 -- [INFO] Stopping validator client
# highlight-next-line
Expand Down
Loading