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

pending pectra #6298

Closed
wants to merge 81 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
caa3b73
move AttesterSlashing and IndexedAttestation from base to phase0 (#6223)
tersec Apr 21, 2024
d139c92
explicitly scope AttesterSlashing and IndexedAttestation types to pha…
tersec Apr 21, 2024
8745237
add Electra SSZ object test fixture (#6225)
tersec Apr 22, 2024
67a22b3
add Electra BLS to Execution Change, Block Heaer, Sync Aggregate, and…
tersec Apr 22, 2024
eb997f4
add 10 sub-test-fixtures for electra epoch transitions; use v2.0.4 fo…
tersec Apr 23, 2024
e6e95cb
add Electra slot sanity tests (#6230)
tersec Apr 23, 2024
9ba6b8d
add Electra epoch rewards test fixture (#6231)
tersec Apr 23, 2024
f53271e
add rest of EF consensus spec test Electra epoch transition fixture(s…
tersec Apr 24, 2024
90ac2de
switch back to version-2-0 (#6233)
tersec Apr 24, 2024
70a41bd
Update nimbus.guide color schemes to be closer to nimbus.team (#6227)
kdeme Apr 24, 2024
8c4ddd6
add EF consensus spec test attester slashing, proposer slashing, volu…
tersec Apr 25, 2024
824bb17
ci: use clang 18 from Homebrew on aarch64
jakubgs Mar 28, 2024
b0f58a5
add EF consensus spec test Electra consolidation operations fixture (…
tersec Apr 25, 2024
23116ba
bump `geth` to `v1.14.0` (#6236)
etan-status Apr 26, 2024
d864ab7
bump `nim-chronicles` to `856514a5b10e9293f6cdcf4cc60d7bb969f6b1c0` (…
etan-status Apr 26, 2024
98e710b
bump `nim-stew` to `104132fd0217e846b04dd26a5fbe3e43a4929a05` (#6239)
etan-status Apr 26, 2024
c89843e
bump `nim-libp2p` to `2b5319622c997ce1c80bc62c863e30f3349ee0d7` (#6238)
etan-status Apr 26, 2024
224a24c
bump `nim-web3` to `290acb6e6200230fc625209e6654f6bb60aceb13` (#6240)
etan-status Apr 26, 2024
5d5517b
bump `nim-websock` to `63bcc2902d884c63101e144555ad99421734a70a` (#6241)
etan-status Apr 26, 2024
34ba05f
add EF consensus spec test Electra deposits operations fixture (#6243)
tersec Apr 26, 2024
63d0093
add EF consensus spec test Electra deposit receipt operations fixture…
tersec Apr 26, 2024
8f0a61b
add EF consensus spec test Electra execution payload operations fixtu…
tersec Apr 26, 2024
9f5d2e2
bump `nim-libbacktrace` to `cefd3eec9c13330f6726383ed0c8a60ca8823603`…
etan-status Apr 26, 2024
6119389
add EF consensus spec test Electra attestation operations fixture (#6…
tersec Apr 28, 2024
302f645
use EF consensus spec v1.5.0-alpha.1 test vectors (#6249)
tersec Apr 28, 2024
a66876c
add EF consensus spec test Electra block sanity fixtures (#6250)
tersec Apr 28, 2024
abc8bbb
add EF consensus spec test Electra fork and transition fixtures (#6251)
tersec Apr 28, 2024
e70fa6d
rename ElectraIndexedAttestation/ElectraAttesterSlashing for consiste…
tersec Apr 29, 2024
f6fbb05
bump `nimbus-build-system` to `a15dc546a053dd94c610a4178887bbf7c908aa…
etan-status Apr 29, 2024
1ab6f16
Merge remote-tracking branch 'origin/stable' into unstable
tersec Apr 29, 2024
f3da063
Fix VC not properly handled getAggregatedAttestation's 404 error. (#6…
cheatfate May 1, 2024
bd33828
Chore/update libp2p branch master (#6253)
kaiserd May 1, 2024
c9b54bf
Enable IPv6 for discovery5 using dualstack support. (#6242)
cheatfate May 1, 2024
9e8d2e7
block pull requests to `stable` (#6001)
etan-status May 1, 2024
ab30efa
Integrate `hashtree` for better hashing performance (#5188)
arnetheduck May 2, 2024
0881d38
bump `nim-chronos` to `72f560f049efa42fffb50aff2015782f6f17825e` (#6259)
etan-status May 2, 2024
b6d0bf1
bump `gnosis-chain-configs` to `c115f3688c19eb6153e22c1e76477db4ed27f…
etan-status May 2, 2024
bfb9670
bump `holesky` to `bc5dfed5d939f611ad519a89d84ae227e83b5570` (#6258)
etan-status May 2, 2024
7bef68c
libp2p: bump (#6260)
arnetheduck May 2, 2024
484f489
Fix POST to eth/v1/builder/blinded_blocks missing header Eth-Consensu…
cheatfate May 3, 2024
fc3fad2
revert to v2.0.4
tersec May 4, 2024
8c84e83
bump `nim-chronicles` to `33761a5f77610d3f87f774244490eae43a9ac5a1` (…
etan-status May 5, 2024
2969e18
ssz: bump (#6262)
arnetheduck May 5, 2024
d0cea28
chronos: bump (#6264)
arnetheduck May 5, 2024
a6f68d3
Fix POST to /eth/v2/beacon/blocks unable to verify correct block sign…
cheatfate May 6, 2024
c41fe69
small datatypes cleanups (#6266)
tersec May 6, 2024
4a1a2c8
add packages to Nix flake config, move to repo root
jakubgs Apr 6, 2024
7acf383
ci: pin Nim for PR builds to v2.0.4 temporarily (#6267)
jakubgs May 6, 2024
72ac82e
Bump jinja2 from 3.1.3 to 3.1.4 in /ncli (#6268)
dependabot[bot] May 6, 2024
70d6c36
Bump jinja2 from 3.1.3 to 3.1.4 in /docs (#6269)
dependabot[bot] May 6, 2024
1b30dcc
initial electra attestation pool changes; electra block_sim (#6255)
tersec May 7, 2024
963e0bb
use EF consensus spec v1.5.0-alpha.2 test vectors (#6272)
tersec May 8, 2024
137d969
configure block_sim to start with Deneb genesis (#6274)
tersec May 8, 2024
1051c3c
use upstream/version-2-0 of Nim in CI (#6277)
tersec May 9, 2024
6b8061b
automated consensus spec URL updating to v1.5.0-alpha.2 (#6279)
tersec May 9, 2024
31fdbae
ssz: bump to disable arm64 hashtree (#6278)
arnetheduck May 9, 2024
8ca537c
libp2p: bump (#6280)
arnetheduck May 9, 2024
87605d0
bump `nim-eth` to `c482b4c5b658a77cc96b49d4a397aa6d98472ac7` (#6281)
etan-status May 13, 2024
3f972a2
add some support for electra aggregated attestations (#6283)
tersec May 14, 2024
9c669cf
some debugRaiseAssert to debugComment; unblock some spec tests (#6284)
tersec May 14, 2024
1c3aaa7
add (Signed)AggregateAndProof SSZ tests (#6285)
tersec May 14, 2024
c1b9e82
electra attestation gossip plumbing (#6287)
tersec May 14, 2024
e6b9bfc
el_manager initial refactor. (#6228)
cheatfate May 14, 2024
0ca5211
enable nbn electra block processing (#6288)
tersec May 14, 2024
c060160
rm future_combinators (#6289)
tersec May 14, 2024
d0400e4
rename ExitV1 to WithdrawalRequestV1 (#6290)
tersec May 15, 2024
0b8cb4e
Add metrics to all RPC {state_id} endpoints. (#6282)
cheatfate May 15, 2024
69f13ea
add electra gossip transition
tersec May 15, 2024
111e5d8
add push raises to nimbus_light_client
tersec May 15, 2024
b9151d4
produce blobs in electra
tersec May 15, 2024
c7b916f
rename depositReceipts/exits to depositRequests/withdrawalRequests
tersec May 16, 2024
4355f81
temporarily disable optimistic block hashing on electra
tersec May 16, 2024
41db536
Fix el-manager warnings and issues. (#6293)
cheatfate May 16, 2024
826bf4c
be more optimistic about electra
tersec May 17, 2024
045c4cf
electra attestation updates (#6295)
arnetheduck May 17, 2024
d191b35
electra: attestatoin sending (#6296)
arnetheduck May 17, 2024
d7c5bc0
[VC] Add builderBoostFactor support. (#6294)
cheatfate May 19, 2024
a00b81c
change num sync workers
tersec May 16, 2024
a8a2cd4
foo
tersec May 17, 2024
2524d0a
foo
tersec May 17, 2024
eecb1c5
foo
tersec May 17, 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
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
- unstable
pull_request:
paths-ignore: ['media/**', 'docs/**', '**/*.md']
branches-ignore:
- stable
workflow_dispatch:

concurrency: # Cancel stale PR builds (but not push builds)
Expand Down Expand Up @@ -136,6 +138,10 @@ jobs:
fi
fi

if [[ '${{ runner.os }}' == 'Windows' ]]; then
export NIMFLAGS="${NIMFLAGS} --cc:clang"
fi

export NIMFLAGS="${NIMFLAGS} ${{ matrix.nimflags-extra }}"
echo "NIMFLAGS=${NIMFLAGS}" >> $GITHUB_ENV

Expand Down Expand Up @@ -176,7 +182,7 @@ jobs:

- name: Build binaries (with trace logging enabled)
run: |
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} LOG_LEVEL=TRACE NIMFLAGS="-u:release --opt:none ${{ matrix.nimflags-extra }}"
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} LOG_LEVEL=TRACE NIMFLAGS="-u:release --opt:none ${NIMFLAGS}"
# The Windows image runs out of disk space, so make some room
rm -rf build nimcache

Expand Down Expand Up @@ -238,7 +244,7 @@ jobs:
if: ${{ !cancelled() }} && github.event_name == 'pull_request'
run: |
excluded_files="config.yaml"
excluded_extensions="ans|cfg|json|json\\.template|md|png|service|ssz|txt"
excluded_extensions="ans|cfg|json|json\\.template|md|png|service|ssz|txt|lock|nix"

current_year=$(date +"%Y")
problematic_files=()
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/pr_block.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# beacon_chain
# Copyright (c) 2024 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
# at your option. This file may not be copied, modified, or distributed except according to those terms.

name: PR block
on:
pull_request:
branches:
- stable

jobs:
close:
name: "Close pull request"
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Close
run: |
gh pr close ${{ github.event.pull_request.number }} --comment \
'Pull requests to the `stable` branch are not allowed.
Please open your pull request against the `unstable` branch.
See https://nimbus.guide/contribute.html#build-and-deploy'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# beacon_chain
# Copyright (c) 2018-2023 Status Research & Development GmbH
# Copyright (c) 2018-2024 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at http://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at http://www.apache.org/licenses/LICENSE-2.0).
Expand Down Expand Up @@ -65,6 +65,7 @@ geth-*.zip
# generated during Nim compilation
*.nim.generated.nim

result
/dist
/benchmark_results
/.update.timestamp
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
path = vendor/nim-libp2p
url = https://github.com/vacp2p/nim-libp2p.git
ignore = untracked
branch = unstable
branch = master
[submodule "vendor/nimbus-build-system"]
path = vendor/nimbus-build-system
url = https://github.com/status-im/nimbus-build-system.git
Expand Down
15 changes: 13 additions & 2 deletions AllTests-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ AllTests-mainnet
+ ancestorSlot OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## Attestation pool electra processing [Preset: mainnet]
```diff
+ Can add and retrieve simple electra attestations [Preset: mainnet] OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## Attestation pool processing [Preset: mainnet]
```diff
+ Attestation from different branch [Preset: mainnet] OK
Expand Down Expand Up @@ -75,6 +80,11 @@ OK: 7/7 Fail: 0/7 Skip: 0/7
+ basics OK
```
OK: 2/2 Fail: 0/2 Skip: 0/2
## Beacon validators test suite
```diff
+ builderBetterBid(builderBoostFactor) test OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## Blinded block conversions
```diff
+ Bellatrix toSignedBlindedBlock OK
Expand Down Expand Up @@ -891,6 +901,7 @@ OK: 1/1 Fail: 0/1 Skip: 0/1
+ /eth/v1/validator/sync_committee_selections serialization/deserialization test OK
+ bestSuccess() API timeout test OK
+ firstSuccessParallel() API timeout test OK
+ getAggregatedAttestationDataScore() default test OK
+ getAggregatedAttestationDataScore() test vectors OK
+ getAttestationDataScore() test vectors OK
+ getLiveness() response deserialization test OK
Expand All @@ -899,7 +910,7 @@ OK: 1/1 Fail: 0/1 Skip: 0/1
+ getUniqueVotes() test vectors OK
+ normalizeUri() test vectors OK
```
OK: 11/11 Fail: 0/11 Skip: 0/11
OK: 12/12 Fail: 0/12 Skip: 0/12
## Validator change pool testing suite
```diff
+ addValidatorChangeMessage/getAttesterSlashingMessage OK
Expand Down Expand Up @@ -1019,4 +1030,4 @@ OK: 2/2 Fail: 0/2 Skip: 0/2
OK: 9/9 Fail: 0/9 Skip: 0/9

---TOTAL---
OK: 684/689 Fail: 0/689 Skip: 5/689
OK: 686/691 Fail: 0/691 Skip: 5/691
Loading
Loading