From dfb650dfd1af52b4c12cb622261121d7b1ff4376 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:19:51 +0100 Subject: [PATCH] fix assemble --- .../src/main/java/tech/pegasys/teku/kzg/TrustedSetup.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/TrustedSetup.java b/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/TrustedSetup.java index f75d3e4a087..46c65d0181c 100644 --- a/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/TrustedSetup.java +++ b/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/TrustedSetup.java @@ -22,10 +22,14 @@ record TrustedSetup(List g1Lagrange, List g2Monomial, List g1Monomial) { - public TrustedSetup { + public TrustedSetup( + final List g1Lagrange, final List g2Monomial, final List g1Monomial) { g1Lagrange.forEach(this::validateG1Point); + this.g1Lagrange = g1Lagrange; g2Monomial.forEach(this::validateG2Point); + this.g2Monomial = g2Monomial; g1Monomial.forEach(this::validateG1Point); + this.g1Monomial = g1Monomial; } private void validateG1Point(final Bytes g1Point) {