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

chore: v1.16.0 #6460

Merged
merged 73 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
01d47b9
chore: align test scripts (#6339)
jeluard Jan 25, 2024
347c95f
feat: allow builder boost factor to be configured via proposer config…
g11tech Jan 26, 2024
6adbd27
fix: ignore forkchoice invalidations if latestValidHash not found (#6…
g11tech Jan 27, 2024
291e178
feat: add down-scoring for metadata ssz size error (#6366)
matthewkeil Jan 29, 2024
cbf349c
feat: blob sidecars can be filtered by indices (#6337)
jeluard Jan 29, 2024
d6a7a39
chore: merge v1.15 stable back to unstable (#6372)
philknows Jan 29, 2024
54c2069
fix: ignore stale keystore lockfiles (#6363)
nflaig Jan 29, 2024
3bbb3d9
fix: stabilize unknown block sync e2e test (#6364)
twoeths Jan 29, 2024
ed43a98
chore: align vitest config filenames (#6369)
jeluard Jan 29, 2024
8b354f2
docs: add comment to RequestErrorCode.SSZ_OVER_MAX_SIZE (#6373)
matthewkeil Jan 30, 2024
5064fab
docs: update link to erigon jwt setup (#6375)
activescott Jan 30, 2024
b5344bf
fix: add block_id schema validation to getBlobSidecars (#6377)
nflaig Jan 30, 2024
f2e352f
fix: skip useWorker mode for gossipsub e2e tests (#6368)
twoeths Jan 30, 2024
8e0078b
docs: reflect vitest migration (#6247)
jeluard Jan 30, 2024
6b732b0
fix: log errors setting agent version as debug (#6374)
matthewkeil Feb 1, 2024
2374392
chore: update chainsafe dependencies (#6380)
wemeetagain Feb 1, 2024
b2c83ce
chore: update holesky.ts to include Lodestar bootnode (#6383)
philknows Feb 1, 2024
863ee5f
fix: getAttestationsForBlock performance issue (#6367)
twoeths Feb 1, 2024
0db50b9
chore: improve browser support (#6384)
jeluard Feb 1, 2024
00dfa63
feat: add builder selection executionalways (#6370)
nflaig Feb 1, 2024
ac4e714
refactor: update the block production race (#6241)
nazarhussain Feb 5, 2024
b511d83
feat: allow to execute lodestar script inside docker container (#6392)
nflaig Feb 5, 2024
7995c97
chore: update funding.yml link (#6385)
philknows Feb 5, 2024
c4bf385
chore: fix failing sim tests (#6389)
nazarhussain Feb 6, 2024
d8b500a
chore: upgrade geth and nethermind for sim tests (#6395)
nazarhussain Feb 6, 2024
cb754f6
fix: increase e2e env startup timeout (#6396)
nazarhussain Feb 6, 2024
274871d
chore: improve the sim tests logs (#6394)
nazarhussain Feb 6, 2024
2a8342d
test: flaky unit tests (#6398)
nazarhussain Feb 6, 2024
3adf2c2
chore: bump gossipsub (#6399)
wemeetagain Feb 6, 2024
b6890ad
feat: add ERC-55 support to ExecutionAddress (#6355)
jeluard Feb 6, 2024
924a6cd
fix: parse --blindedLocal flag value as boolean (#6403)
nflaig Feb 7, 2024
3bc9673
fix: correct error message if produceBlockV3 request fails (#6405)
nflaig Feb 7, 2024
6a47911
chore: merge branch 'stable' into unstable
wemeetagain Feb 7, 2024
d1caa1f
fix: fix regression in getCurrentSlotAround (#6407)
wemeetagain Feb 7, 2024
cb99fc4
chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 (#6071)
dependabot[bot] Feb 7, 2024
c98a48a
test: fix code coverage (#6410)
nazarhussain Feb 8, 2024
036fb39
feat: emit slashing events (#6391)
jeluard Feb 8, 2024
a9dc307
feat: schedule deneb on mainnet (#6411)
g11tech Feb 8, 2024
b1848ec
chore: remove npm badge from README (#6412)
nflaig Feb 8, 2024
10ac136
feat: manually use identify protocol (#6400)
wemeetagain Feb 10, 2024
54bedcb
chore: upgrade bls (#6413)
jeluard Feb 10, 2024
5c25185
feat: add new panels to validator client dashboard (#6415)
nflaig Feb 10, 2024
1e67579
chore: update broken links to lodestar docs (#6417)
krauspt Feb 10, 2024
da0bcc8
test: support .env.test to reuse env variables across the tests (#6408)
nazarhussain Feb 12, 2024
ae61683
chore: upgrade eslint and fix the warnings (#6420)
nazarhussain Feb 13, 2024
cd7421e
chore: fixed incorrect link (#6427)
jeluard Feb 14, 2024
8157642
feat: schedule deneb on gnosis (#6423)
nflaig Feb 14, 2024
0087c8a
docs: pin dependencies, update icons, and formatting fixes (#6425)
nflaig Feb 14, 2024
d384213
refactor: reuse utils added in block production race refactor (#6422)
nflaig Feb 14, 2024
42e8835
ci: lint yarn lockfiles to analyze and detect security issues (#6424)
nflaig Feb 14, 2024
c52c7bd
docs: initialize FAQs page with Kubernetes unknown args error (#6416)
philknows Feb 15, 2024
83d7d70
test: add support to dump raw simulation data for debugging (#6429)
nazarhussain Feb 15, 2024
e0b6e28
fix: publish blobs sooner than later (#6431)
g11tech Feb 15, 2024
48871eb
fix: reduce verbosity of gossip block errors (#6430)
nflaig Feb 15, 2024
5047410
test: temporarily reduce the sync committee participation limit for s…
nazarhussain Feb 16, 2024
a02ea75
feat: rename prover CLI start command as proxy and make it default (#…
jeluard Feb 16, 2024
0cee060
chore: improve type safety of CLI args (#6438)
nflaig Feb 16, 2024
d01c542
test: add a work around for range sync issue during sim tests (#6436)
nazarhussain Feb 16, 2024
17b4fde
test: split sim tests to multiple jobs (#6437)
nazarhussain Feb 16, 2024
0e01efd
chore: fix prover README typos (#6426)
jeluard Feb 16, 2024
6a68b1e
feat: allow blob archival for bigger time periods (#6393)
g11tech Feb 16, 2024
227930c
chore: remove not yet relevant prover options (#6440)
jeluard Feb 16, 2024
1943346
chore: remove unused eslint disable directives (#6444)
nflaig Feb 17, 2024
4c09412
fix: earliest permissable slot for beacon_attestation topic post dene…
twoeths Feb 17, 2024
290c301
feat: add retry functionality in the api for builder publish (#6387)
g11tech Feb 17, 2024
c7c9941
feat: track timings of various stages of block import (#6439)
g11tech Feb 17, 2024
efb684a
feat: add cli flag to ignore the wss check failure on checkpoint sync…
g11tech Feb 19, 2024
0e9fc49
fix: improve error if lockfile exists but not a directory (#6450)
nflaig Feb 20, 2024
533db97
fix: do not register libp2p handler twice for same protocol (#6455)
nflaig Feb 20, 2024
6b01690
fix: ignore known blocks during publishing (#6457)
nflaig Feb 20, 2024
0a12b1b
chore: fix typos in un-/subscribing attnets logs (#6454)
nflaig Feb 20, 2024
d1dc217
feat: add logs to track number of http retries (#6458)
nflaig Feb 20, 2024
fda3b19
v1.16.0
wemeetagain Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ ignore:
- "supporting-docs"
- "docker"
- ".github"

flags:
unit:
paths:
- ".*"
carryforward: true
13 changes: 13 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# We use these images during sim and e2e tests
# TODO: Upgrade Geth once the Nethermind issue is resolved else it's causing following error
# Rejected peer id=134e2c1a76745626 addr=192.168.0.3:9052 conn=staticdial err="useless peer"
GETH_DOCKER_IMAGE=ethereum/client-go:v1.11.6
# Use either image or local binary for the testing
GETH_BINARY_DIR=
LIGHTHOUSE_DOCKER_IMAGE=sigp/lighthouse:v4.6.0-amd64-modern-dev
# We can't upgrade nethermind further due to genesis hash mismatch with the geth
# https://github.com/NethermindEth/nethermind/issues/6683
NETHERMIND_DOCKER_IMAGE=nethermind/nethermind:1.18.2
# We mostly use mainnet for unit testing
# Changing this value may impact the tests which are written with mainnet in mind
LODESTAR_PRESET=mainnet
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ module.exports = {
},
//ignore rules on destructured params
{selector: "variable", modifiers: ["destructured"], format: null},
{
selector: "import",
format: ["camelCase", "PascalCase"],
},
],
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-floating-promises": "error",
Expand Down Expand Up @@ -94,6 +98,7 @@ module.exports = {
"func-call-spacing": "off",
// Force to add names to all functions to ease CPU profiling
"func-names": ["error", "always"],
"import/namespace": "off",
//if --fix is run it messes imports like /lib/presets/minimal & /lib/presets/mainnet
"import/no-duplicates": "off",
"import/no-extraneous-dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
custom: https://gitcoin.co/grants/6034/lodestar-typescript-eth-consensus-client-by-chains
custom: https://etherscan.io/address/0xb4da52336092db22fe8e036866d59c6488604f89
2 changes: 1 addition & 1 deletion .github/actions/core-dump/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
shell: sh

- name: Backup core dump
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: core-dump
path: /cores/*
5 changes: 5 additions & 0 deletions .github/actions/dotenv/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: "Setup env variables using .env file"
description: "Load .env file from root of repo and setup for CI runner"
runs:
using: "node20"
main: index.js
29 changes: 29 additions & 0 deletions .github/actions/dotenv/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
const fs = require("fs");
const core = require("@actions/core");
const dotEnv = require("dotenv");
const envFile = ".env.test";

if (!fs.existsSync(envFile)) {
core.setFailed("File .env not found");
}

const result = dotEnv.config({path: envFile});
if (result.error) {
core.setFailed(result.error.message);
} else {
core.setOutput("env", result.parsed);
core.info("Env file loaded");
core.info("Populating env variables...");

for (const key in result.parsed) {
const value = result.parsed[key];
core.info(`${key}=${value}`);

// Export variable
core.exportVariable(key, value);

// Set to output so it can be used in as the input for the next job/step
core.setOutput(key, value);

}
}
58 changes: 58 additions & 0 deletions .github/actions/setup-and-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "Setup and build the repo"
description: "A task to reuse setup steps during multiple jobs"
inputs:
node:
description: Node version
required: true

runs:
using: "composite"
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{inputs.node}}
check-latest: true
cache: yarn

- name: Node.js version
id: node
shell: bash
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT

- name: Restore build
uses: actions/cache/restore@v4
id: cache-build-restore
with:
path: |
node_modules
packages/*/node_modules
lib/
packages/*/lib
packages/*/.git-data.json
key: ${{ runner.os }}-node-${{ inputs.node }}-${{ github.sha }}

- name: Install & build
if: steps.cache-build-restore.outputs.cache-hit != 'true'
shell: bash
run: yarn install --frozen-lockfile && yarn build

- name: Build
if: steps.cache-build-restore.outputs.cache-hit == 'true'
shell: bash
run: yarn build

- name: Check Build
shell: bash
run: yarn check-build

- name: Cache build artifacts
uses: actions/cache@master
with:
path: |
node_modules
packages/*/node_modules
lib/
packages/*/lib
packages/*/.git-data.json
key: ${{ runner.os }}-node-${{ inputs.node }}-${{ github.sha }}
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

steps:
# <common-build> - Uses YAML anchors in the future
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-debug-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
working-directory: 'nodejs'

- name: Upload build to artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nodejs-debug-build-${{ github.event.inputs.version }}
path: nodejs-debug-build-${{ github.event.inputs.version }}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
# <common-build> - Uses YAML anchors in the future
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
echo "Deploying ref: $DEPLOY_REF"

# Checkout the correct ref being deployed
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.DEPLOY_REF }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
# <common-build> - Uses YAML anchors in the future
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
runs-on: buildjet-4vcpu-ubuntu-2204
needs: npm
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -49,10 +49,10 @@ jobs:
if: needs.tag.outputs.is_rc == 'true'
steps:
# <common-build> - Uses YAML anchors in the future
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Needs full depth for changelog generation
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
needs: [tag, npm]
if: needs.tag.outputs.is_rc == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: scripts/await-release.sh ${{ needs.tag.outputs.tag }} rc 900
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -55,10 +55,10 @@ jobs:
if: needs.tag.outputs.is_stable == 'true'
steps:
# <common-build> - Uses YAML anchors in the future
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Needs full depth for changelog generation
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
needs: [tag, npm]
if: needs.tag.outputs.is_stable == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: scripts/await-release.sh ${{ needs.tag.outputs.tag }} latest 900
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-sim-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
# <common-build> - Uses YAML anchors in the future
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

- name: Upload debug log test files
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debug-test-logs
path: packages/beacon-node/test-logs
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:

- name: Upload debug log test files
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debug-test-logs
path: packages/beacon-node/test-logs