Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
9e55b05
Add separate wfs for hoodi and holesky
rnmsslido Mar 24, 2025
9cf89e8
fix: missed imports
exromany Mar 18, 2025
6b08523
chore: drop unused subgraph code
exromany Mar 18, 2025
80b5727
feat: hoodi testnet
exromany Mar 18, 2025
6f32b8b
fix: csm addresses
exromany Mar 18, 2025
22e0021
chore: vendor @lido-sdk/providers & @lido-sdk/react
exromany Mar 18, 2025
3ceb528
fix: deposit queue with dividing by zero
exromany Mar 18, 2025
3eb66a3
chore: disable etherscan link hoodi
exromany Mar 18, 2025
c6ccdfa
chore: disable keys-api
exromany Mar 18, 2025
1d007ad
fix: dashboard keys if keysCount = zero
exromany Mar 18, 2025
961d54d
fix: faq with Hoodi WC & feeRecipient
exromany Mar 18, 2025
efd38c1
chore: blockscout explorer
exromany Mar 18, 2025
c9a611a
fix: hoodi CL api
exromany Mar 18, 2025
6acaefb
fix: deposit queue
exromany Mar 18, 2025
3d170bc
fix: key in activation pending status comment
exromany Mar 19, 2025
ceaeb31
chore: disable external dashboards for hoodi
exromany Mar 19, 2025
9a518c3
chore: links
exromany Mar 19, 2025
bc6d3d8
chore: faq hoodi with correct curve image
exromany Mar 19, 2025
d941be3
fix: exitbus contract address
exromany Mar 19, 2025
afccf20
chore: hoodi rawards frame = 1d
exromany Mar 21, 2025
66ed691
chore: refactor rewards frame dates
exromany Mar 24, 2025
31c37db
chore: hoodi banner
exromany Mar 24, 2025
6a3014d
fix: metrics for aggregatorPriceFeed
exromany Mar 24, 2025
17241ba
chore: correct gate rule for surveys page
exromany Mar 24, 2025
595b3ed
chore: holesky-banner
exromany Mar 24, 2025
9d35b50
feat: integrate shares to stETH conversion in LastRewards component
exromany Mar 15, 2025
4b43cd2
Merge pull request #196 from lidofinance/feature/sre-2472-csm-widget-…
rnmsslido Mar 24, 2025
c1ad9e8
Merge pull request #193 from lidofinance/chore/hoodi-testnet
exromany Mar 24, 2025
e5f747c
chore: optional country fields in setup survey
exromany Mar 24, 2025
62083ae
feat: surveys cta before april
exromany Mar 24, 2025
c6027c3
fix: hide beaconcha.in on hoodi
exromany Mar 25, 2025
0c1a936
chore: hide setups on testnet
exromany Mar 25, 2025
a67a64f
Merge pull request #198 from lidofinance/chore/survey-optional-fields
infoster42 Mar 25, 2025
e88a352
Merge pull request #199 from lidofinance/feature/surveys-cta
infoster42 Mar 25, 2025
77e2bbd
Merge pull request #201 from lidofinance/fix/hide-beaconchain-on-hoodi
infoster42 Mar 25, 2025
ba547c3
Merge pull request #202 from lidofinance/chore/hide-setups-on-testnet
infoster42 Mar 25, 2025
7b462fc
Merge remote-tracking branch 'origin/main' into chore/develop-with-main
exromany Mar 25, 2025
a4681e3
Merge pull request #207 from lidofinance/chore/develop-with-main
exromany Mar 25, 2025
f1e32c2
Merge pull request #203 from lidofinance/develop
infoster42 Mar 25, 2025
6d41589
feat: dappnode features V1 (#1)
pablomendezroyo Feb 18, 2025
c439bc5
Add missing envs and fix csp (#21)
pablomendezroyo Feb 18, 2025
f896d32
Update CSP (#22)
pablomendezroyo Feb 18, 2025
b6612ef
fix: relocate node_env
pablomendezroyo Feb 18, 2025
6437cae
feat: allow any http connection from internal network
pablomendezroyo Feb 18, 2025
bcd4532
feat: use dappnode urls for rpc and cc (#23)
pablomendezroyo Feb 18, 2025
5915d5a
fix: rpc
pablomendezroyo Feb 19, 2025
bc26d2f
fix: move notifications and performance index to pages (#24)
pablomendezroyo Feb 19, 2025
dd96012
fix: use getServerSideProps in notifications and performance
pablomendezroyo Feb 19, 2025
208e3a5
fix: overall fixes (#25)
mateumiralles Feb 19, 2025
c2b35c7
Retrieving processingStarted events from backend (#27)
mateumiralles Feb 21, 2025
d69ee2e
fix: mainnet widrawal address in starter pack (#28)
mateumiralles Mar 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# RPC API urls by network
# EL_RPC_URLS_{CHAIN_ID} list or URLs delimeted by commas, first entry is primary, else are fallbacks
EL_RPC_URLS_1=
EL_RPC_URLS_17000=
EL_RPC_URLS_560048=

# IPFS prefill RPC URLs - list of URLs delimited by commas
PREFILL_UNSAFE_EL_RPC_URLS_1=
PREFILL_UNSAFE_EL_RPC_URLS_17000=
PREFILL_UNSAFE_EL_RPC_URLS_560048=

# CL API urls by network
# CL_API_URLS_{CHAIN_ID} list or URLs delimeted by commas, first entry is primary, else are fallbacks
CL_API_URLS_1=
CL_API_URLS_17000=
CL_API_URLS_560048=

# MAINTENANCE mode
MAINTENANCE=
Expand Down
2 changes: 0 additions & 2 deletions .github/CODEOWNERS

This file was deleted.

25 changes: 0 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/dependabot.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/checks.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI Dev
name: CI Dev Holesky

on:
workflow_dispatch:
push:
branches:
- develop
- holesky
paths-ignore:
- ".github/**"

Expand All @@ -25,5 +25,5 @@ jobs:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
TARGET_REPO: "lidofinance/infra-mainnet"
TARGET_WORKFLOW: "deploy_testnet_csm_widget.yaml"
TARGET: "develop"
TARGET_WORKFLOW: "deploy_holesky_testnet_csm_widget.yaml"
TARGET: "holesky"
27 changes: 0 additions & 27 deletions .github/workflows/ci-preview-demolish.yml

This file was deleted.

68 changes: 0 additions & 68 deletions .github/workflows/ci-preview-deploy.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/ci-prod.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/ci-staging.yml

This file was deleted.

85 changes: 85 additions & 0 deletions .github/workflows/dappnode-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Release and Publish Docker Image

on:
workflow_dispatch:
inputs:
version:
description: 'Version to release (optional, defaults to patch increment)'
required: false
default: ''

jobs:
release:
name: Release and Publish Docker Image
runs-on: ubuntu-latest

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

# Fetch all tags
- name: Fetch tags
run: git fetch --tags

# Determine the next version
- name: Determine release version
id: determine_version
run: |
# Get the input version
INPUT_VERSION="${{ github.event.inputs.version }}"

# Find the latest tag
LATEST_TAG=$(git tag --sort=-v:refname | head -n 1)

# If an input version is provided, use it
if [[ -n "$INPUT_VERSION" ]]; then
NEW_VERSION="$INPUT_VERSION"
else
# Increment the patch version by default
IFS='.' read -r MAJOR MINOR PATCH <<< "$LATEST_TAG"
NEW_VERSION="${MAJOR}.${MINOR}.$((PATCH + 1))"
fi

# If no releases exist, default to 0.1.0
if [[ "$LATEST_TAG" == "0.0.0" ]]; then
NEW_VERSION="0.1.0"
fi

echo "New version: $NEW_VERSION"
echo "::set-output name=version::$NEW_VERSION"

# Create a GitHub release
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.determine_version.outputs.version }}
name: Release ${{ steps.determine_version.outputs.version }}
body: |
Automatically generated release ${{ steps.determine_version.outputs.version }}.
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Push the new tag to the repository
- name: Push new tag
run: |
git tag ${{ steps.determine_version.outputs.version }}
git push origin ${{ steps.determine_version.outputs.version }}

# Log in to GitHub Docker Registry
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Build and push Docker image
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ steps.determine_version.outputs.version }}
14 changes: 0 additions & 14 deletions .github/workflows/prepare-release-draft.yml

This file was deleted.

19 changes: 12 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,35 @@ COPY package.json yarn.lock ./

RUN yarn install --frozen-lockfile --non-interactive --ignore-scripts && yarn cache clean
COPY . .
RUN NODE_NO_BUILD_DYNAMICS=true yarn typechain && yarn build
RUN NODE_NO_BUILD_DYNAMICS=true yarn typechain && NODE_ENV=production yarn build
# public/runtime is used to inject runtime vars; it should exist and user node should have write access there for it
RUN rm -rf /app/public/runtime && mkdir /app/public/runtime && chown node /app/public/runtime

# final image
FROM node:20-alpine as base

ARG BASE_PATH=""
ARG SUPPORTED_CHAINS="1"
ARG DEFAULT_CHAIN="1"
# SUPPORTED_CHAINS and DEFAULT_CHAIN will be set in dappnode Lido CSM generic repository
#ARG DEFAULT_CHAIN="1"

ENV NEXT_TELEMETRY_DISABLED=1 \
BASE_PATH=$BASE_PATH \
SUPPORTED_CHAINS=$SUPPORTED_CHAINS \
DEFAULT_CHAIN=$DEFAULT_CHAIN
PORT=80 \
NODE_ENV=production
#SUPPORTED_CHAINS=$SUPPORTED_CHAINS \
#DEFAULT_CHAIN=$DEFAULT_CHAIN

WORKDIR /app
RUN apk add --no-cache curl=~8
COPY --from=build /app /app

USER node
EXPOSE 3000
#EXPOSE 3000
# DAPPNODE
EXPOSE 80

HEALTHCHECK --interval=10s --timeout=3s \
CMD curl -f http://localhost:3000/api/health || exit 1
CMD curl -f http://localhost/api/health || exit 1
#CMD curl -f http://localhost:3000/api/health || exit 1

CMD ["yarn", "start"]
Loading