From 1812788d0a73cf484ab944ce98ddca858a6d16c5 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Mon, 22 Aug 2022 11:53:21 +1000 Subject: [PATCH] Teku libraries 22.8.1 (#628) * Teku libraries 22.8.1 * changelog * Updating Teku ValidatorRegistration package --- CHANGELOG.md | 4 ++++ .../http/handlers/signing/eth2/ValidatorRegistration.java | 4 ++-- gradle/versions.gradle | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18a56a394..3857ec131 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 22.8.1 +### Features Added +- Updated internal Teku libraries to 22.8.1. This update includes Bellatrix network upgrade and merge transition configuration for Mainnet. + ## 22.8.0 ### Features Added - Added health check endpoint [#538](https://github.com/ConsenSys/web3signer/issues/538). diff --git a/core/src/main/java/tech/pegasys/web3signer/core/service/http/handlers/signing/eth2/ValidatorRegistration.java b/core/src/main/java/tech/pegasys/web3signer/core/service/http/handlers/signing/eth2/ValidatorRegistration.java index 75f3c1572..6659b535c 100644 --- a/core/src/main/java/tech/pegasys/web3signer/core/service/http/handlers/signing/eth2/ValidatorRegistration.java +++ b/core/src/main/java/tech/pegasys/web3signer/core/service/http/handlers/signing/eth2/ValidatorRegistration.java @@ -58,9 +58,9 @@ public BLSPubKey getPubkey() { return pubkey; } - public tech.pegasys.teku.spec.datastructures.execution.ValidatorRegistration + public tech.pegasys.teku.spec.datastructures.builder.ValidatorRegistration asInternalValidatorRegistration() { - return new tech.pegasys.teku.spec.datastructures.execution.ValidatorRegistrationSchema() + return new tech.pegasys.teku.spec.datastructures.builder.ValidatorRegistrationSchema() .create(feeRecipient, gasLimit, timestamp, pubkey.asBLSPublicKey()); } } diff --git a/gradle/versions.gradle b/gradle/versions.gradle index e6d60f809..91e5962a0 100644 --- a/gradle/versions.gradle +++ b/gradle/versions.gradle @@ -84,7 +84,7 @@ dependencyManagement { dependency 'org.hyperledger.besu:plugin-api:22.4.1' dependency 'org.hyperledger.besu.internal:metrics-core:22.4.4' - dependencySet(group: 'tech.pegasys.teku.internal', version: '22.8.0') { + dependencySet(group: 'tech.pegasys.teku.internal', version: '22.8.1') { entry 'bls' entry 'spec' entry 'serializer'