Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit b52da1c
Author: remoterami <[email protected]>
Date:   Wed Feb 5 18:10:18 2025 +0100

    refactor(api): validator addition

commit a17f8f8
Author: remoterami <[email protected]>
Date:   Wed Feb 5 18:08:41 2025 +0100

    fix: added pectra configs

commit 6f83d58
Author: peter <[email protected]>
Date:   Wed Feb 5 18:08:41 2025 +0100

    base pectra changes

commit de92991
Author: Lucca Dukic <[email protected]>
Date:   Wed Feb 5 13:19:59 2025 +0100

    refactor: pass actual context to `getDataAccessor`

commit 6dbf323
Author: Lucca Dukic <[email protected]>
Date:   Wed Feb 5 12:53:48 2025 +0100

    refactor: pass actual context to `GetUserIdByContext`

commit 49ee544
Author: invis-bitfly <[email protected]>
Date:   Thu Jan 30 12:52:35 2025 +0100

    chore(dep): update clickhouse-go/v2 to v2.30.3

commit 2a3fe62
Author: invis-bitfly <[email protected]>
Date:   Thu Jan 30 12:52:35 2025 +0100

    chore(dep): update clickhouse-go/v2 to v2.30.1

commit b4c68c6
Author: Tangui Clairet <[email protected]>
Date:   Tue Feb 4 13:50:32 2025 +0100

    feat(backend ci): run unit test on push + check coverage

commit 45bccf5
Author: enzo-bitfly <[email protected]>
Date:   Wed Jan 29 17:27:04 2025 +0100

    fix(DashboardSlotViz): prevent horizontal scrollbar on full width

commit 9bc8741
Author: enzo-bitfly <[email protected]>
Date:   Wed Jan 29 16:17:02 2025 +0100

    refactor(DashboardTableSummary): reorganize component for better readability

commit c17862e
Author: enzo-bitfly <[email protected]>
Date:   Tue Jan 28 15:57:25 2025 +0100

    feat(DashboardTableSummary): calculate and persist initial values' unit

commit 5360294
Author: enzo-bitfly <[email protected]>
Date:   Tue Jan 28 11:01:23 2025 +0100

    feat: calculate and persist `slotviz` visible duties

    - default visible duties depend on the dashbnoard being `shared` and over or under 64 validators
    - loading/intermediate states are added to prevent flashes on the visible duties when changing dashboards

    See: BEDS-1037

commit caa30d7
Author: enzo-bitfly <[email protected]>
Date:   Fri Jan 24 16:18:55 2025 +0100

    perf: prevent unnecessary request for `slotviz` data before setting group ids

commit 800fc89
Author: enzo-bitfly <[email protected]>
Date:   Fri Jan 24 14:48:56 2025 +0100

    refactor: improve `slotviz` section's component structure and namings

commit de9029c
Author: enzo-bitfly <[email protected]>
Date:   Fri Jan 17 12:01:15 2025 +0100

    refactor: move composable into `validatorDashboardOverviewStore`

    - This change affects all files that use the reactive values of the store, so that they keep their reactivity
    - Additionally, add `loading` state to the store

commit 7f6daba
Author: invis-bitfly <[email protected]>
Date:   Mon Jan 27 16:20:47 2025 +0100

    refactor(api): filter out running events from healthz

commit 3b7703d
Author: invis-bitfly <[email protected]>
Date:   Mon Jan 27 16:18:41 2025 +0100

    refactor(api): dont report error if newer successful report exists

commit ea19b7d
Author: invis-bitfly <[email protected]>
Date:   Mon Jan 27 16:17:24 2025 +0100

    refactor(exporter): return early if already running in slot exporter

commit cd57216
Author: invis-bitfly <[email protected]>
Date:   Mon Jan 27 16:17:08 2025 +0100

    misc(exporter): disable v2 healthz for rp exporter

commit f1cddb6
Author: remoterami <[email protected]>
Date:   Mon Jan 27 12:47:52 2025 +0100

    fix: update go version in docker container

commit c4dbac8
Author: remoterami <[email protected]>
Date:   Wed Jan 22 16:24:15 2025 +0100

    test: summary chart integration tests

commit 2bcc21c
Author: remoterami <[email protected]>
Date:   Wed Jan 22 10:32:12 2025 +0100

    fix(vdb): shared group status in summary chart respected

commit 5a0cecf
Author: Tangui Clairet <[email protected]>
Date:   Wed Jan 22 16:15:14 2025 +0100

    feat(raw): validate block data before writting

    fix

commit 4a6ed90
Author: Tangui Clairet <[email protected]>
Date:   Tue Jan 14 18:27:01 2025 +0100

    feat: add raw store
    review

commit f1458a5
Author: invis-bitfly <[email protected]>
Date:   Wed Jan 22 16:19:41 2025 +0100

    fix(monitoring) rp & pubkey healthz only on prod

commit 6f8cd74
Author: invis-bitfly <[email protected]>
Date:   Wed Jan 22 15:46:44 2025 +0100

    misc(exporter): 5 min timeout for modules

commit ebe893f
Author: invis-bitfly <[email protected]>
Date:   Wed Jan 22 10:55:25 2025 +0100

    refactor(monitoring): allow disabling of certain healthz checks over config

commit 083773c
Author: invis-bitfly <[email protected]>
Date:   Wed Jan 22 10:46:23 2025 +0100

    fix(exporter): only count nil in sanity check

commit cacb1c6
Author: invis-bitfly <[email protected]>
Date:   Wed Jan 15 18:07:59 2025 +0100

    refactor(exporter): make el payload exporter less stingy, report unseen blocks in bigtable

commit a5d1d36
Author: Sasha Zezulinsky <[email protected]>
Date:   Tue Jan 21 17:10:43 2025 +0000

    fix(dashboard): fix missed el rewards in group summary for a period

    * See BEDS-1165

commit eea9f52
Author: Lucca Dukic <[email protected]>
Date:   Wed Jan 15 10:09:19 2025 +0100

    fix: don't allow user deletion with active subscriptions

    See: BEDS-924

commit 0ed1e97
Author: remoterami <[email protected]>
Date:   Fri Jan 17 18:43:38 2025 +0100

    chore: sync validator error formatting

commit f2b4385
Author: Sasha Zezulinsky <[email protected]>
Date:   Wed Jan 15 23:02:33 2025 +0000

    add(dashboard): missed EL rewards for group summary

    * See BEDS-175

commit 3f7397b
Author: remoterami <[email protected]>
Date:   Thu Jan 16 17:20:00 2025 +0100

    fix: proposal missed/executed attribution

commit 6fc75ae
Author: remoterami <[email protected]>
Date:   Thu Jan 16 12:25:27 2025 +0100

    fix: scaled efficiency value
  • Loading branch information
remoterami committed Feb 5, 2025
1 parent 4003f7a commit 9c56da4
Show file tree
Hide file tree
Showing 136 changed files with 11,141 additions and 1,746 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/backend-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: backend-test.yml

env:
# raise that threshold over time
COVERAGE_THRESHOLD: 2

on:
push:
paths:
- 'backend/**'
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.23'

- name: unit tests
working-directory: ./backend
run: |
export TERM=xterm
go test `go list ./... | grep -v "pkg/consapi\|pkg/api\|internal/th\|internal/contracts\|pkg/commons/types\|pkg/commons/contracts\|cmd"` -coverprofile coverage.out -covermode atomic -race
- name: coverage
working-directory: ./backend
run: |
echo "Quality Gate: checking test coverage is above threshold ..."
echo "Threshold : $COVERAGE_THRESHOLD %"
totalCoverage=`go tool cover -func=coverage.out | grep ^total | grep -Eo '[0-9]+\.[0-9]+'`
echo "Current test coverage : $totalCoverage %"
if (( $(echo "$totalCoverage $COVERAGE_THRESHOLD" | awk '{print ($1 > $2)}') )); then
echo "OK"
else
echo "Current test coverage is below threshold. Please add more unit tests or adjust threshold to a lower value."
echo "Failed"
exit 1
fi
1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ local_deployment/.env
__gitignore
cmd/playground
pkg/api/docs/swagger.json
coverage.out
3 changes: 0 additions & 3 deletions backend/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ linters-settings:
- "!**/pkg/exporter/modules/eth1.go"
allow:
- $gostd
deny:
- pkg: github.com/prysmaticlabs/prysm/v3
desc: "Depending on your needs you might find something here https://github.com/wealdtech"
main-logging:
list-mode: lax # allow unless explicitely denied
files:
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# this is meant to be built with the root of this repo as build-context
FROM golang:1.23.0 AS build-env
FROM golang:1.23.1 AS build-env
COPY backend/go.mod backend/go.sum /src/backend/
WORKDIR /src/backend
RUN go mod download
Expand Down
Loading

0 comments on commit 9c56da4

Please sign in to comment.