Skip to content

Commit 1885b3f

Browse files
authored
Merge branch 'unstable' into column-syncer
2 parents 4a69a2b + ecabeee commit 1885b3f

30 files changed

+256
-169
lines changed

.github/workflows/nightly_build.yml

Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252
- name: Upload BN checksum artefact
5353
uses: actions/upload-artifact@v4
5454
with:
55-
name: Linux_amd64_checksum
55+
name: Linux_amd64_checksum_bn
5656
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
5757
retention-days: 2
5858

5959
- name: Upload VC checksum artefact
6060
uses: actions/upload-artifact@v4
6161
with:
62-
name: Linux_amd64_checksum
62+
name: Linux_amd64_checksum_vc
6363
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
6464
retention-days: 2
6565

@@ -106,14 +106,14 @@ jobs:
106106
- name: Upload BN checksum artefact
107107
uses: actions/upload-artifact@v4
108108
with:
109-
name: Linux_arm64_checksum
109+
name: Linux_arm64_checksum_bn
110110
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
111111
retention-days: 2
112112

113113
- name: Upload VC checksum artefact
114114
uses: actions/upload-artifact@v4
115115
with:
116-
name: Linux_arm64_checksum
116+
name: Linux_arm64_checksum_vc
117117
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
118118
retention-days: 2
119119

@@ -160,14 +160,14 @@ jobs:
160160
- name: Upload BN checksum artefact
161161
uses: actions/upload-artifact@v4
162162
with:
163-
name: Linux_arm_checksum
163+
name: Linux_arm_checksum_bn
164164
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
165165
retention-days: 2
166166

167167
- name: Upload VC checksum artefact
168168
uses: actions/upload-artifact@v4
169169
with:
170-
name: Linux_arm_checksum
170+
name: Linux_arm_checksum_vc
171171
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
172172
retention-days: 2
173173

@@ -206,14 +206,14 @@ jobs:
206206
- name: Upload BN checksum artefact
207207
uses: actions/upload-artifact@v4
208208
with:
209-
name: Windows_amd64_checksum
209+
name: Windows_amd64_checksum_bn
210210
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
211211
retention-days: 2
212212

213213
- name: Upload VC checksum artefact
214214
uses: actions/upload-artifact@v4
215215
with:
216-
name: Windows_amd64_checksum
216+
name: Windows_amd64_checksum_vc
217217
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
218218
retention-days: 2
219219

@@ -252,14 +252,14 @@ jobs:
252252
- name: Upload BN checksum artefact
253253
uses: actions/upload-artifact@v4
254254
with:
255-
name: macOS_amd64_checksum
255+
name: macOS_amd64_checksum_bn
256256
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
257257
retention-days: 2
258258

259259
- name: Upload VC checksum artefact
260260
uses: actions/upload-artifact@v4
261261
with:
262-
name: macOS_amd64_checksum
262+
name: macOS_amd64_checksum_vc
263263
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
264264
retention-days: 2
265265

@@ -298,14 +298,14 @@ jobs:
298298
- name: Upload BN checksum artefact
299299
uses: actions/upload-artifact@v4
300300
with:
301-
name: macOS_arm64_checksum
301+
name: macOS_arm64_checksum_bn
302302
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
303303
retention-days: 2
304304

305305
- name: Upload VC checksum artefact
306306
uses: actions/upload-artifact@v4
307307
with:
308-
name: macOS_arm64_checksum
308+
name: macOS_arm64_checksum_vc
309309
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
310310
retention-days: 2
311311

@@ -330,17 +330,23 @@ jobs:
330330
\`\`\`text
331331
EOF
332332
echo '# Linux AMD64' >> release_notes.md
333-
cat Linux_amd64_checksum/* >> release_notes.md
333+
cat Linux_amd64_checksum_bn/* >> release_notes.md
334+
cat Linux_amd64_checksum_vc/* >> release_notes.md
334335
echo '# Linux ARM64' >> release_notes.md
335-
cat Linux_arm64_checksum/* >> release_notes.md
336+
cat Linux_arm64_checksum_bn/* >> release_notes.md
337+
cat Linux_arm64_checksum_vc/* >> release_notes.md
336338
echo '# Linux ARM' >> release_notes.md
337-
cat Linux_arm_checksum/* >> release_notes.md
339+
cat Linux_arm_checksum_bn/* >> release_notes.md
340+
cat Linux_arm_checksum_vc/* >> release_notes.md
338341
echo '# Windows AMD64' >> release_notes.md
339-
cat Windows_amd64_checksum/* >> release_notes.md
342+
cat Windows_amd64_checksum_bn/* >> release_notes.md
343+
cat Windows_amd64_checksum_vc/* >> release_notes.md
340344
echo '# macOS AMD64' >> release_notes.md
341-
cat macOS_amd64_checksum/* >> release_notes.md
345+
cat macOS_amd64_checksum_bn/* >> release_notes.md
346+
cat macOS_amd64_checksum_vc/* >> release_notes.md
342347
echo '# macOS ARM64' >> release_notes.md
343-
cat macOS_arm64_checksum/* >> release_notes.md
348+
cat macOS_arm64_checksum_bn/* >> release_notes.md
349+
cat macOS_arm64_checksum_vc/* >> release_notes.md
344350
echo '```' >> release_notes.md
345351
346352
- name: Delete tag
@@ -370,14 +376,20 @@ jobs:
370376
failOnError: false
371377
name: |
372378
Linux_amd64_archive
373-
Linux_amd64_checksum
379+
Linux_amd64_checksum_bn
380+
Linux_amd64_checksum_vc
374381
Linux_arm64_archive
375-
Linux_arm64_checksum
382+
Linux_arm64_checksum_bn
383+
Linux_arm64_checksum_vc
376384
Linux_arm_archive
377-
Linux_arm_checksum
385+
Linux_arm_checksum_bn
386+
Linux_arm_checksum_vc
378387
Windows_amd64_archive
379-
Windows_amd64_checksum
388+
Windows_amd64_checksum_bn
389+
Windows_amd64_checksum_vc
380390
macOS_amd64_archive
381-
macOS_amd64_checksum
391+
macOS_amd64_checksum_bn
392+
macOS_amd64_checksum_vc
382393
macOS_arm64_archive
383-
macOS_arm64_checksum
394+
macOS_arm64_checksum_bn
395+
macOS_arm64_checksum_vc

.github/workflows/release.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# beacon_chain
2-
# Copyright (c) 2020-2024 Status Research & Development GmbH
2+
# Copyright (c) 2020-2025 Status Research & Development GmbH
33
# Licensed and distributed under either of
44
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
55
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
@@ -432,20 +432,26 @@ jobs:
432432
failOnError: false
433433
name: |
434434
Linux_amd64_archive
435-
Linux_amd64_checksum
435+
Linux_amd64_checksum_bn
436+
Linux_amd64_checksum_vc
436437
Linux_amd64_packages
437438
Linux_arm64_archive
438-
Linux_arm64_checksum
439+
Linux_arm64_checksum_bn
440+
Linux_arm64_checksum_vc
439441
Linux_arm64_packages
440442
Linux_arm_archive
441-
Linux_arm_checksum
443+
Linux_arm_checksum_bn
444+
Linux_arm_checksum_vc
442445
Linux_arm_packages
443446
Windows_amd64_archive
444-
Windows_amd64_checksum
447+
Windows_amd64_checksum_bn
448+
Windows_amd64_checksum_vc
445449
macOS_amd64_archive
446-
macOS_amd64_checksum
450+
macOS_amd64_checksum_bn
451+
macOS_amd64_checksum_vc
447452
macOS_arm64_archive
448-
macOS_arm64_checksum
453+
macOS_arm64_checksum_bn
454+
macOS_arm64_checksum_vc
449455
450456
- name: Login to Docker Hub
451457
uses: docker/login-action@v1

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
2025-04-21 v25.4.0
2+
==================
3+
4+
Nimbus `v25.4.0` is a high-urgency release for Ethereum Foundation and Gnosis mainnets due to their Pectra hardforks.
5+
6+
### Improvements
7+
8+
- Add Ethereum Foundation mainnet Pectra support:
9+
https://github.com/status-im/nimbus-eth2/pull/7063
10+
11+
- Add Gnosis mainnet Pectra support:
12+
https://github.com/status-im/nimbus-eth2/pull/7062
13+
14+
- Improve Electra attestation packing quality:
15+
https://github.com/status-im/nimbus-eth2/pull/7053
16+
17+
- Reduce unnecessary state replays on low-participation networks:
18+
https://github.com/status-im/nimbus-eth2/pull/7072
19+
20+
- Implement `block_gossip` beacon API SSE stream support:
21+
https://github.com/status-im/nimbus-eth2/pull/7054
22+
23+
- Reduce unnecessary Electra attestation logging verbosity:
24+
https://github.com/status-im/nimbus-eth2/pull/7058
25+
26+
### Fixes
27+
28+
- Fix compatibility with certain builder API relays:
29+
https://github.com/status-im/nimbus-eth2/pull/7045
30+
31+
- Fix getAggregatedAttestationV2 beacon API endpoint for non-zero committee indices:
32+
https://github.com/status-im/nimbus-eth2/pull/7037
33+
134
2025-03-21 v25.3.1
235
==================
336

beacon_chain/era_db.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ proc getBlockSSZ*(
126126
if len > int.high.uint64:
127127
return err("Invalid uncompressed size")
128128

129-
bytes = newSeqUninitialized[byte](len)
129+
bytes = newSeqUninit[byte](len)
130130

131131
# Where it matters, we will integrity-check the data with SSZ - no
132132
# need to waste cycles on crc32
@@ -171,7 +171,7 @@ proc getStateSSZ*(
171171
min(len, partial.get().uint64 + maxUncompressedFrameDataLen - 1)
172172
else: len
173173

174-
bytes = newSeqUninitialized[byte](wanted)
174+
bytes = newSeqUninit[byte](wanted)
175175

176176
# Where it matters, we will integrity-check the data with SSZ - no
177177
# need to waste cycles on crc32

beacon_chain/libnimbus_lc/libnimbus_lc.h

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,39 @@ const void *ETHAuthorizationGetSignatureBytes(
16401640
const ETHAuthorization *authorization,
16411641
int *numBytes);
16421642

1643+
/**
1644+
* Indicates the total number of initcodes of a transaction.
1645+
*
1646+
* - Individual initcodes may be inspected using
1647+
* `ETHTransactionGetInitcode`.
1648+
*
1649+
* @param transaction Transaction.
1650+
*
1651+
* @return Number of available initcodes.
1652+
*/
1653+
ETH_RESULT_USE_CHECK
1654+
int ETHTransactionGetNumInitcodes(const ETHTransaction *transaction);
1655+
1656+
/**
1657+
* Obtains an individual initcode by sequential index
1658+
* in a transaction.
1659+
*
1660+
* - The returned value is allocated in the given transaction.
1661+
* It must neither be released nor written to, and the transaction
1662+
* must not be released while the returned value is in use.
1663+
*
1664+
* @param transaction Transaction.
1665+
* @param initcodeIndex Sequential initcode index.
1666+
* @param[out] numBytes Length of buffer.
1667+
*
1668+
* @return Buffer with initcode.
1669+
*/
1670+
ETH_RESULT_USE_CHECK
1671+
const void *ETHTransactionGetInitcodeBytes(
1672+
const ETHTransaction *transaction,
1673+
int initcodeIndex,
1674+
int *numBytes);
1675+
16431676
/**
16441677
* Obtains the signature of a transaction.
16451678
*

0 commit comments

Comments
 (0)