Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
149a447
Include compRefTests
Matilda-Clerke Aug 18, 2026
dc1026c
Make cleanRefTests depend on cleanRefTestsForkChoiceCompliance
Matilda-Clerke Aug 20, 2026
4d89e71
Discard uncomfirmed block timeliness if block import is unsuccessful
Matilda-Clerke Aug 20, 2026
1d05142
Fix compile issue on BlockTimelinessTrackerTest
Matilda-Clerke Aug 23, 2026
583a0e1
spotless
Matilda-Clerke Aug 23, 2026
d041005
Update BlockTimelinessTrackerTest
Matilda-Clerke Aug 24, 2026
956c936
Merge branch 'master' into integrate-comp-ref-tests
Matilda-Clerke Aug 25, 2026
2aa5421
Update viable_for_head_roots_and_weights check in ForkChoiceTestExecutor
Matilda-Clerke Aug 26, 2026
91c01ae
Update applyAttestation to consider deferred attestation not valid
Matilda-Clerke Aug 26, 2026
b655cd6
spotless
Matilda-Clerke Aug 26, 2026
bd42780
Remove head roots and weights set size check, as it doesn't match pre…
Matilda-Clerke Aug 26, 2026
2024f44
Remove unnecessary check on actual head root and weight payload status
Matilda-Clerke Aug 26, 2026
9abcf2f
Correct spelling in assertion message
Matilda-Clerke Aug 26, 2026
a1128ad
Remove no longer used HeadRootAndWeight.equals
Matilda-Clerke Aug 26, 2026
0624cb0
Prevent slot and epoch validation on attestations from blocks
Matilda-Clerke Aug 31, 2026
58f87b2
Spotless
Matilda-Clerke Aug 31, 2026
6176155
Move epoch check out of gossip-only attestation validation. Add unit …
Matilda-Clerke Sep 2, 2026
45700ef
spotless
Matilda-Clerke Sep 2, 2026
54849bb
Include non-viable heads in AttestationStateSelector operations
Matilda-Clerke Sep 3, 2026
2ec1d55
spotless
Matilda-Clerke Sep 3, 2026
7d72ed4
Compute new head immediately before importing block
Matilda-Clerke Sep 8, 2026
7c05bd6
Check if block has matching shuffling dependent root before labelling…
Matilda-Clerke Sep 9, 2026
1d35b23
spotless
Matilda-Clerke Sep 9, 2026
328dfef
Implement and use ForkChoiceUtilGloas.shouldApplyProposerBoost
Matilda-Clerke Sep 10, 2026
a84415b
Merge branch 'master' into integrate-comp-ref-tests
Matilda-Clerke Sep 10, 2026
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
36 changes: 34 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ def slashingProtectionInterchangeRefTestBaseUrl = 'https://github.com/eth-client
def refTestDownloadDir = "${buildDir}/refTests/${refTestVersion}"
def blsRefTestDownloadDir = "${buildDir}/blsRefTests/${blsRefTestVersion}"
def slashingProtectionInterchangeRefTestDownloadDir = "${buildDir}/slashingProtectionInterchangeRefTests/${slashingProtectionInterchangeRefTestVersion}"
def compTestDownloadDir = "${buildDir}/compRefTests/${refTestVersion}"
def refTestExpandDir = "${project.rootDir}/eth-reference-tests/src/referenceTest/resources/consensus-spec-tests/"

def downloadFile(String url, String token, File outputFile) {
Expand Down Expand Up @@ -652,8 +653,19 @@ tasks.register('downloadSlashingProtectionInterchangeRefTests', Download) {
overwrite false
}

// comptests.tar.gz is only published alongside tagged consensus-specs releases (not the nightly
// vector-generation workflow), so it is skipped for nightly builds.
tasks.register('downloadCompTests', Download) {
onlyIf { !nightly }
src([
"${refTestBaseUrl}/${refTestVersion}/comptests.tar.gz"
])
dest "${compTestDownloadDir}/comptests.tar.gz"
overwrite false
}

tasks.register('downloadRefTests') {
dependsOn downloadEthRefTests, downloadBlsRefTests, downloadSlashingProtectionInterchangeRefTests
dependsOn downloadEthRefTests, downloadBlsRefTests, downloadSlashingProtectionInterchangeRefTests, downloadCompTests
}

tasks.register('cleanRefTestsGeneral', Delete) {
Expand Down Expand Up @@ -714,8 +726,28 @@ tasks.register('expandRefTestsSlashingProtectionInterchange', Copy) {
into "${refTestExpandDir}/tests/slashing-protection-interchange"
}

// comptests.tar.gz bundles the whole consensus-specs tests/ tree (pyspec source included, not
// just vectors), so only the fork_choice_compliance subtree is extracted here rather than the
// full ~3GB archive.
tasks.register('cleanRefTestsForkChoiceCompliance', Delete) {
delete fileTree(refTestExpandDir) {
include "tests/**/fork_choice_compliance/**"
}
}

tasks.register('expandRefTestsForkChoiceCompliance', Copy) {
dependsOn cleanRefTestsForkChoiceCompliance, downloadCompTests
onlyIf { !nightly }
from {
tarTree("${compTestDownloadDir}/comptests.tar.gz").matching {
include "tests/**/fork_choice_compliance/**"
}
}
into refTestExpandDir
}
Comment thread
cursor[bot] marked this conversation as resolved.

tasks.register('expandRefTests') {
dependsOn expandRefTestsGeneral, expandRefTestsMainnet, expandRefTestsMinimal, expandRefTestsBls, expandRefTestsSlashingProtectionInterchange
dependsOn expandRefTestsGeneral, expandRefTestsMainnet, expandRefTestsMinimal, expandRefTestsBls, expandRefTestsSlashingProtectionInterchange, expandRefTestsForkChoiceCompliance
}
tasks.register('cleanRefTests') {
dependsOn cleanRefTestsGeneral, cleanRefTestsMainnet, cleanRefTestsMinimal, cleanRefTestsBls, cleanRefTestsSlashingProtectionInterchange
Expand Down
Loading