mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
Update to new version of jc-kzg-4844 lib (#7849)
* Updating Dependencies Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com> * Update CHANGELOG.md Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> --------- Signed-off-by: Vaidik <vaidikbhardwaj00@gmail.com> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
- Transaction indexing will be disabled by default in a future release for snap sync and checkpoint sync modes. This will break RPCs that use transaction hash for historical queries.
|
||||
- Support for block creation on networks running a pre-Byzantium fork is deprecated for removal in a future release, after that in order to update Besu on nodes that build blocks, your network needs to be upgraded at least to the Byzantium fork. The main reason is to simplify world state management during block creation, since before Byzantium for each selected transaction, the receipt must contain the root hash of the modified world state, and this does not play well with the new plugin features and future work on parallelism.
|
||||
### Additions and Improvements
|
||||
- Update the jc-kzg-4844 dependency from 1.0.0 to 2.0.0, which is now available on Maven Central [#7849](https://github.com/hyperledger/besu/pull/7849)
|
||||
- Add TLS/mTLS options and configure the GraphQL HTTP service[#7910](https://github.com/hyperledger/besu/pull/7910)
|
||||
- Allow plugins to propose transactions during block creation [#8268](https://github.com/hyperledger/besu/pull/8268)
|
||||
- Update `eth_getLogs` to return a `Block not found` error when the requested block is not found. [#8290](https://github.com/hyperledger/besu/pull/8290)
|
||||
|
||||
@@ -81,7 +81,7 @@ dependencies {
|
||||
implementation 'org.rocksdb:rocksdbjni'
|
||||
implementation 'org.springframework.security:spring-security-crypto'
|
||||
implementation 'org.xerial.snappy:snappy-java'
|
||||
implementation 'tech.pegasys:jc-kzg-4844'
|
||||
implementation 'io.consensys.protocols:jc-kzg-4844'
|
||||
|
||||
runtimeOnly 'org.apache.logging.log4j:log4j-jul'
|
||||
runtimeOnly 'com.splunk.logging:splunk-library-javalogging'
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -63,7 +63,7 @@ dependencies {
|
||||
implementation 'io.tmio:tuweni-units'
|
||||
implementation 'io.tmio:tuweni-rlp'
|
||||
implementation 'org.immutables:value-annotations'
|
||||
implementation 'tech.pegasys:jc-kzg-4844'
|
||||
implementation 'io.consensys.protocols:jc-kzg-4844'
|
||||
|
||||
implementation 'org.xerial.snappy:snappy-java'
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ public class BlobTestFixture {
|
||||
try {
|
||||
CKZG4844JNI.loadNativeLibrary();
|
||||
CKZG4844JNI.loadTrustedSetupFromResource(
|
||||
"/kzg-trusted-setups/mainnet.txt", BlobTestFixture.class);
|
||||
"/kzg-trusted-setups/mainnet.txt", BlobTestFixture.class, 0);
|
||||
|
||||
} catch (Exception e) {
|
||||
fail("Failed to compute commitment", e);
|
||||
|
||||
@@ -45,7 +45,7 @@ dependencies {
|
||||
implementation 'io.tmio:tuweni-units'
|
||||
implementation 'org.hyperledger.besu:arithmetic'
|
||||
implementation'org.hyperledger.besu:gnark'
|
||||
implementation 'tech.pegasys:jc-kzg-4844'
|
||||
implementation 'io.consensys.protocols:jc-kzg-4844'
|
||||
|
||||
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
|
||||
compileOnly 'io.vertx:vertx-core'
|
||||
|
||||
@@ -60,7 +60,7 @@ public class KZGPointEvalPrecompiledContract implements PrecompiledContract {
|
||||
loadLib();
|
||||
final String trustedSetupResourceName = trustedSetupFile.toAbsolutePath().toString();
|
||||
LOG.info("Loading trusted setup from user-specified resource {}", trustedSetupResourceName);
|
||||
CKZG4844JNI.loadTrustedSetup(trustedSetupResourceName);
|
||||
CKZG4844JNI.loadTrustedSetup(trustedSetupResourceName, 0);
|
||||
} else {
|
||||
throw new IllegalStateException("KZG trusted setup was already loaded");
|
||||
}
|
||||
@@ -78,7 +78,7 @@ public class KZGPointEvalPrecompiledContract implements PrecompiledContract {
|
||||
LOG.info(
|
||||
"Loading network trusted setup from classpath resource {}", trustedSetupResourceName);
|
||||
CKZG4844JNI.loadTrustedSetupFromResource(
|
||||
trustedSetupResourceName, KZGPointEvalPrecompiledContract.class);
|
||||
trustedSetupResourceName, KZGPointEvalPrecompiledContract.class, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -175,7 +175,7 @@ dependencies {
|
||||
|
||||
api 'org.xerial.snappy:snappy-java:1.1.10.7'
|
||||
|
||||
api 'tech.pegasys:jc-kzg-4844:1.0.0'
|
||||
api 'io.consensys.protocols:jc-kzg-4844:2.0.0'
|
||||
|
||||
api 'tech.pegasys.discovery:discovery:25.2.0'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user