Skip to content

Commit

Permalink
Merge branch 'master' into indexed-attestation-validation-optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr authored Jan 12, 2025
2 parents ce8b901 + 89caf92 commit 3835cb6
Show file tree
Hide file tree
Showing 92 changed files with 553 additions and 1,772 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
## Unreleased Changes

### Breaking Changes
`--Xvalidators-builder-registration-default-gas-limit` is removed in favour of `--validators-builder-registration-default-gas-limit`

### Additions and Improvements
- Default the gas limit to 36 million for externally produced blocks
- Optimized blobs validation pipeline
- Remove delay when fetching blobs from the local EL on block arrival

### Bug Fixes
### Bug Fixes
- Fix `--version` command output [#8960](https://github.com/Consensys/teku/issues/8960)
- Fix issue (introduced in `24.12.1`) with peer stability when the upperbound is set to a high number
2 changes: 2 additions & 0 deletions acceptance-tests/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
dependencies {
testImplementation 'io.tmio:tuweni-units'

acceptanceTestImplementation project(":infrastructure:bls")
acceptanceTestImplementation project(':infrastructure:time')
acceptanceTestImplementation project(':data:serializer')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void shouldMaintainValidatorsInMutableClient() throws Exception {
api.assertLocalValidatorListing(validatorKeystores.getPublicKeys());

api.assertValidatorGasLimit(
validatorKeystores.getPublicKeys().get(1), UInt64.valueOf(30000000));
validatorKeystores.getPublicKeys().get(1), UInt64.valueOf(36_000_000));

// generate voluntary exit
api.generateVoluntaryExitAndCheckValidatorIndex(validatorKeystores.getPublicKeys().get(1), 1);
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,6 @@ subprojects {
runtimeOnly 'org.apache.logging.log4j:log4j-core'
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl'

testImplementation 'io.tmio:tuweni-junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
Expand Down
2 changes: 0 additions & 2 deletions data/serializer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ dependencies {
api 'io.swagger.core.v3:swagger-annotations'

implementation project(':ethereum:execution-types')
implementation project(':ethereum:jackson-deserializers')
implementation project(':ethereum:spec')
implementation project(':infrastructure:bls')
implementation project(':infrastructure:bytes')
implementation project(':infrastructure:jackson')
implementation project(':infrastructure:async')

implementation 'io.tmio:tuweni-units'
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion eth-reference-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies {
referenceTestImplementation 'com.fasterxml.jackson.core:jackson-databind'
referenceTestImplementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
referenceTestImplementation 'io.tmio:tuweni-bytes'
referenceTestImplementation 'io.tmio:tuweni-junit'
referenceTestImplementation 'io.tmio:tuweni-ssz'
referenceTestImplementation 'org.xerial.snappy:snappy-java'
}
Expand Down
2 changes: 1 addition & 1 deletion ethereum/execution-types/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dependencies {
implementation project(':infrastructure:crypto')
implementation project(':infrastructure:json')

testFixturesApi project(':infrastructure:jackson')
testFixturesApi 'com.fasterxml.jackson.core:jackson-databind'
testImplementation project(':ethereum:json-types')

testImplementation testFixtures(project(':infrastructure:json'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
public enum EngineApiMethod {
ENGINE_NEW_PAYLOAD("engine_newPayload"),
ENGINE_GET_PAYLOAD("engine_getPayload"),
ENGINE_FORK_CHOICE_UPDATED("engine_forkchoiceUpdated"),
ENGINE_GET_BLOBS("engine_getBlobs");
ENGINE_FORK_CHOICE_UPDATED("engine_forkchoiceUpdated");

private final String name;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ default boolean isDeprecated() {
return false;
}

// TODO should be remove once all ELs implement engine_getBlobsV1. It has been added only to
// better handle the use case when the method is missing in the EL side
default boolean isOptional() {
return false;
}

default String getVersionedName() {
return getVersion() == 0 ? getName() : getName() + "V" + getVersion();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ public BlobAndProof asInternalBlobsAndProofs(final BlobSchema blobSchema) {
return new BlobAndProof(new Blob(blobSchema, blob), new KZGProof(proof));
}

public static BlobAndProofV1 fromInternalBlobsBundle(final BlobAndProof blobAndProof) {
return new BlobAndProofV1(
blobAndProof.blob().getBytes(), blobAndProof.proof().getBytesCompressed());
}

@Override
public boolean equals(final Object o) {
if (this == o) {
Expand Down

This file was deleted.

Loading

0 comments on commit 3835cb6

Please sign in to comment.