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.6.0 #456

Merged
merged 78 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
847261a
[docs] update changelog
stdevMac Dec 10, 2023
8ad99c0
[docs] update docs for version v1.3.0
stdevMac Dec 10, 2023
08e2d20
docs: update main docs page to holds holesky
stdevMac Dec 11, 2023
ac6a892
docs: add new info section on latest comment at quickstart page
stdevMac Dec 11, 2023
bb51d67
docs: update CHANGELOG
stdevMac Dec 11, 2023
9e3e89b
fix: golang version for release
stdevMac Dec 11, 2023
280a601
chore: Update client images to be ready for deneb forks
stdevMac Feb 3, 2024
c01c423
feat: update courtney dependency
adriantpaez Feb 12, 2024
5e8827b
fix: update unit_tests action
adriantpaez Feb 12, 2024
ca4a121
fix: update build workflow
adriantpaez Feb 12, 2024
8abfaaf
fix: update codecov/codecov-action to v4
adriantpaez Feb 12, 2024
cb46133
fix: update doc-test dependencies versions
adriantpaez Feb 12, 2024
270b40c
fix: update templates commands in tests
stdevMac Feb 12, 2024
013b770
feat: update versions of clients
stdevMac Feb 13, 2024
2cc5c00
fix: update lodestar command
stdevMac Feb 12, 2024
523eb5e
Update develop branch with main (#362)
stdevMac Mar 8, 2024
3df8466
Update images dencun-ready (#364)
stdevMac Mar 8, 2024
f9cd284
Remove obsolete version field (#373)
kamilchodola Apr 30, 2024
dd62062
fix: update github actions (#366)
adriantpaez May 16, 2024
4d41a7d
fix: check-version PR reviewers (#382)
adriantpaez May 16, 2024
398245d
Remove support for Goerli (#372)
khalifaa55 May 20, 2024
1f75887
test: Add E2E test suite (#384)
adriantpaez May 28, 2024
870874f
feat: Add Smart Contracts logic for Lido (#386)
khalifaa55 Jun 25, 2024
011fad2
feat: Allow keystores creation with eth1 withdrawal credentials (#235)
cbermudez97 Jul 4, 2024
74604f5
feat: Add support for mev-boost on Holesky (#380)
khalifaa55 Jul 4, 2024
4bb728e
feat: Update images to latest versions (#391)
stdevMac Jul 9, 2024
ee821a8
feat: Add Lido Flow (#389)
khalifaa55 Jul 9, 2024
bdf9cfb
feat: Support ubuntu 24.04 deps install (#392)
AntiD2ta Jul 9, 2024
5231116
fix(cli): Mev-boost not being generated for holesky (#393)
AntiD2ta Jul 9, 2024
e92f92e
Sync branch with main branch changes (#399)
khalifaa55 Jul 22, 2024
aef5ceb
fix: Teku and Lighthouse import keys container error on Windows (#398)
khalifaa55 Jul 24, 2024
01fcb11
Lido Tier 1 Integration NO data (#401)
khalifaa55 Aug 13, 2024
ffd0eae
Remove Peer upper limit of peers on CL (#404)
kamilchodola Aug 29, 2024
6e3f24d
feat: Lido Tier 1 Integration CLI (#402)
khalifaa55 Aug 30, 2024
7204e13
feat: add op funding.json (#405)
MarekM25 Sep 4, 2024
149bcdc
Main v1.5.0 into Develop (#409)
stdevMac Sep 11, 2024
9563877
fix: Update Rewards method for Lido
khalifaa55 Sep 12, 2024
ea6586f
docs: Include lido-status command
khalifaa55 Sep 12, 2024
000cc79
feat: Integrate EL monitoring stack
khalifaa55 Sep 17, 2024
b63e1f2
feat: Add Lido-Exporter app
AntiD2ta Sep 19, 2024
e928e97
feat: Create pipeline for lido-exporter Docker image release
khalifaa55 Sep 24, 2024
1b3659d
fix: Lido Exporter Release (#415)
khalifaa55 Sep 25, 2024
0c82c08
feat: Update lido-exporter workflow trigger
khalifaa55 Sep 25, 2024
464352d
fix: Generate files for lido-exporter build
khalifaa55 Sep 25, 2024
d45ab87
fix: Adjust lido-exporter release tag (#419)
khalifaa55 Sep 26, 2024
9eb8d61
feat: Integrate lido-exporter into the monitoring stack
khalifaa55 Sep 30, 2024
7948325
feat: Create Grafana dashboard for lido-exporter
khalifaa55 Sep 30, 2024
5082128
docs: update lido.mdx with EA program info (#427)
jorem321 Oct 4, 2024
30add06
doc: Fix typo in custom-bootnodes.mdx (#353)
cristiantroy Oct 6, 2024
c9fa645
chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /docs (#350)
dependabot[bot] Oct 6, 2024
61e31be
chore(deps): bump serve-static and express in /docs (#429)
dependabot[bot] Oct 6, 2024
a359f81
feat(security): Adds security policy to repo (#371)
darigovresearch Oct 6, 2024
970c629
chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /docs (#430)
dependabot[bot] Oct 6, 2024
d008283
chore(deps): bump webpack from 5.76.1 to 5.95.0 in /docs (#433)
dependabot[bot] Oct 6, 2024
325cb7a
feat(op): Remove not needed neth-op discovery flag (#421)
brbrr Oct 6, 2024
4dca751
chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docs…
dependabot[bot] Oct 6, 2024
fe52760
refac: Remove validator-import container from testdata files (#412)
adriantpaez Oct 6, 2024
b6e5bd6
fix(security): Upgrade cross-compile image for golang (#400)
stdevMac Oct 6, 2024
728a80e
chore(deps): bump follow-redirects from 1.15.4 to 1.15.9 in /docs (#435)
dependabot[bot] Oct 6, 2024
5550fa7
ci: Add CodeQL SAST workflow (#422)
yevh Oct 6, 2024
0793176
chore(deps): bump axios, @docusaurus/core and @docusaurus/preset-clas…
dependabot[bot] Oct 6, 2024
8994dad
chore: Update Go toolchain version (#439)
AntiD2ta Oct 6, 2024
f1d4580
ci: Update Github auth for CI pipeline (#440)
AntiD2ta Oct 6, 2024
4371d71
refac: Adjust lido-exporter Grafana dashboard
khalifaa55 Oct 7, 2024
d7968c3
test: update lido-exporter E2E tests (#428)
AntiD2ta Oct 8, 2024
70a9d94
feat: Add lido-exporter alert rules and alertmanager for monitoring s…
khalifaa55 Oct 10, 2024
1f69582
refac: Update Lido Mainnet relay list
khalifaa55 Oct 14, 2024
cb6e42e
tests: Add e2e test cases for lido-exporter service integration
khalifaa55 Oct 15, 2024
e3b138a
Remove mockgen generation while cloning repo (#448)
stdevMac Oct 15, 2024
58c2cc5
docs: Update cli command execution example (#451)
khalifaa55 Oct 17, 2024
d605df0
Update client images to latest versions (#450)
stdevMac Oct 17, 2024
fdd677d
Fix Besu sync-mode flag (#449)
stdevMac Oct 17, 2024
fbd89c4
Add initial nimbus implementation (#388)
stdevMac Oct 17, 2024
0554b7d
docs: Update Lido docs for tier 1 CSM integration + monitoring command
jorem321 Oct 18, 2024
7dd449e
feat: update teku and besu to latest version
stdevMac Oct 18, 2024
3eca7b8
chore: Update version in docs
khalifaa55 Oct 18, 2024
466d65f
docs: Update docs
khalifaa55 Oct 18, 2024
7a53f93
chore: Update gomod
khalifaa55 Oct 18, 2024
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
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
matrix:
include:
- os: ubuntu-latest
go: '1.21'
go: '1.22'
- os: macos-latest
go: '1.21'
go: '1.22'
- os: windows-latest
go: '1.21'
go: '1.22'
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -45,7 +45,10 @@ jobs:
- name: Install mockgen
run: make install-mockgen

- name: Generate mocks
- name: Install abigen
run: make install-abigen

- name: Generate mocks and contracts
run: make generate

- name: Check go mod status
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/check-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,24 @@ jobs:

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

- name: Authenticate App
id: gh-app
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Run update check script
run: chmod +x ./scripts/check-image-updates.sh && ./scripts/check-image-updates.sh
env:
PAT: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}
PAT: ${{ steps.gh-app.outputs.token }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}
token: ${{ steps.gh-app.outputs.token }}
commit-message: Update image versions to latest version.
title: "[Update] Update image versions"
reviewers: AntiD2ta, adriantpaez, stdevMac, cbermudez97
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/code-generation-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Go Code Generation Check

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
generate:
name: Check Code Generation
runs-on: ubuntu-latest

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

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Set up Go bin in PATH
run: echo "${HOME}/go/bin" >> $GITHUB_PATH

- name: Install Dependencies and Tools
run: |
make install-deps install-abigen install-mockgen

- name: Generate Code
run: make generate

- name: Check for Uncommitted Changes
run: |
if [[ $(git status --porcelain) ]]; then
echo '::error::Uncommitted changes detected. Please run `make generate` and commit the generated code.'
echo 'Modified files:'
git status --porcelain
exit 1
else
echo 'No uncommitted changes. All generated code is up to date.'
fi
39 changes: 39 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CodeQL SAST
on:
push:
branches:
- develop
pull_request:
schedule:
- cron: "23 9 * * 3"
workflow_dispatch:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["go"]

steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@5618c9fc1e675841ca52c1c6b1304f5255a905a0 #v2.19.0
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@5618c9fc1e675841ca52c1c6b1304f5255a905a0 #v2.19.0

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5618c9fc1e675841ca52c1c6b1304f5255a905a0 #v2.19.0
13 changes: 9 additions & 4 deletions .github/workflows/e2e_tests.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.21'
go: '1.22'
- os: windows-latest
go: '1.21'
go: '1.22'
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -29,6 +29,11 @@ jobs:

- name: Install deps
run: make install-deps

- name: Run e2e tests

- name: Run e2e tests Windows
if: runner.os == 'Windows'
run: make e2e-test-windows

- name: Run e2e tests other
if: runner.os != 'Windows'
run: make e2e-test
73 changes: 73 additions & 0 deletions .github/workflows/lido-exporter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Build and Release Lido Exporter Docker Image

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to release (e.g., lido-exporter-v1.2.3)'
required: true

permissions:
contents: write

jobs:
build:
name: Create and Push Docker Image
runs-on: ubuntu-latest
env:
TAG: ${{ github.event.inputs.tag }}

steps:
- name: Extract version
id: extract_version
shell: bash
run: |
VERSION=${TAG#lido-exporter-}
echo "VERSION=$VERSION" >> $GITHUB_ENV

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

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./cmd/lido-exporter/Dockerfile
push: true
tags: |
nethermindeth/lido-exporter:${{ env.VERSION }}
nethermindeth/lido-exporter:latest

- name: Log out of Docker Hub
run: docker logout

create-release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs: build
env:
TAG: ${{ github.event.inputs.tag }}

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

- name: Create Release
uses: ncipollo/release-action@v1
with:
tag: ${{ env.TAG }}
draft: true
prerelease: false
generateReleaseNotes: true
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: "1.21.0"
go-version: "1.22.0"

- run: chmod +x ./scripts/build-go-darwin-binaries.sh && ./scripts/build-go-darwin-binaries.sh

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: "1.21.0"
go-version: "1.22.0"

- run: scripts\build-go-windows-binaries.ps1

Expand All @@ -74,7 +74,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: "1.21.0"
go-version: "1.22.0"

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -120,10 +120,17 @@ jobs:
chmod +x /home/runner/work/sedge/sedge/homebrew-sedge/scripts/update-homebrew.sh
bash /home/runner/work/sedge/sedge/homebrew-sedge/scripts/update-homebrew.sh

- name: Authenticate App
id: gh-app
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}
token: ${{ steps.gh-app.outputs.token }}
commit-message: Update Homebrew to latest release
title: "[Release] Update Homebrew"
reviewers: AntiD2ta, cbermudez97, stdevMac, adriantpaez
Expand Down Expand Up @@ -189,7 +196,7 @@ jobs:
path: sedge
- uses: actions/setup-go@v5
with:
go-version: "1.21.0"
go-version: "1.22.0"
- name: Run publish PPA script
env:
GOPATH: /home/runner/go
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.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.21'
go: '1.22'
- os: windows-latest
go: '1.21'
go: '1.22'
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -36,7 +36,7 @@ jobs:

- name: Run tests other
if: matrix.os != 'ubuntu-latest'
run: make generate && go test ./...
run: make generate && make test-no-e2e

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ build/sedge
courtney/

mocks/

build/lido-exporter
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v1.6.0] - 2024-10-18

### Added
- New command `lido-status` to display data of Lido Node Operator.
- New command `monitoring` to run monitoring stack setup with Grafana, Prometheus, Node Exporter and Lido Exporter.
- Security policy.
- Support for Nimbus as Consensus and Validator client.
- Documentation for Lido Exporter and Monitoring Stack.

### Changed
- Update Go version from 1.21 to 1.22.
- Update documentation versions and dependencies.
- Update Lido Mainnet Vetted Relays List.
- Remove the need of users cloning the repository to run `make generate` and `make compile`, rolling back to only `make compile`
- Update client images.

### Fixed
- Teku and Lighthouse import keys container error on Windows.
- Security issues on dependencies.
- Typos on documentation.
- Fix `sync-mode` command on besu.

## [v1.5.0] - 2024-09-06

### Added
Expand Down
Loading
Loading