Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade jc-kzg-4844 to 2.0.0 #2095

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ext {
javaWebSocketVersion = '1.5.6'
picocliVersion = '4.7.6'
ensAdraffyVersion = '0.2.0'
kzg4844Version = '1.0.0'
kzg4844Version = '2.0.0'
tuweniVersion = '2.4.2'
// test dependencies
equalsverifierVersion = '3.16.1'
Expand Down
2 changes: 1 addition & 1 deletion crypto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
project(':utils'),
"org.slf4j:slf4j-api:$slf4jVersion",
"com.fasterxml.jackson.core:jackson-databind:$jacksonVersion",
"tech.pegasys:jc-kzg-4844:$kzg4844Version"
"io.consensys.protocols:jc-kzg-4844:$kzg4844Version"
implementation("io.tmio:tuweni-bytes:$tuweniVersion")
implementation("io.tmio:tuweni-units:$tuweniVersion")
}
Expand Down
3 changes: 2 additions & 1 deletion crypto/src/main/java/org/web3j/crypto/BlobUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public class BlobUtils {
}

private static void loadTrustedSetupParameters() {
CKZG4844JNI.loadTrustedSetupFromResource(BlobUtils.trustedSetupFilePath, BlobUtils.class);
CKZG4844JNI.loadTrustedSetupFromResource(
BlobUtils.trustedSetupFilePath, BlobUtils.class, 0);
}

public static Bytes getCommitment(Blob blobData) {
Expand Down
Loading
Loading