Upgrade web3j dependencies to latest versions

Signed-off-by: Diego López León <dieguitoll@gmail.com>
bump_web3j
Diego López León 3 years ago committed by Diego López León
parent 86197c449d
commit 94462a64f3
No known key found for this signature in database
GPG Key ID: 1688910EC6300A60
  1. 2
      acceptance-tests/tests/build.gradle
  2. 6
      container-tests/tests/build.gradle
  3. 10
      container-tests/tests/src/test/java/org/hyperledger/besu/tests/container/ContainerTests.java
  4. 1
      gradle/check-licenses.gradle
  5. 12
      gradle/versions.gradle

@ -12,7 +12,7 @@
*/
plugins {
id 'org.web3j' version '4.8.9'
id 'org.web3j' version '4.9.2'
id 'org.web3j.solidity' version '0.3.5'
}

@ -23,7 +23,11 @@ dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.web3j:core'
testImplementation 'org.web3j:quorum'
testImplementation('org.web3j:quorum') {
constraints {
implementation('org.web3j:core:4.9.3') { because 'quorum 4.9.3 hasn\'t been released yet' }
}
}
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
}

@ -91,10 +91,10 @@ public class ContainerTests extends ContainerTestBase {
final QuorumTransactionManager qtm =
new QuorumTransactionManager(
goQuorumWeb3j,
goQuorumEnclave,
credentials,
goQuorumTesseraPubKey,
Arrays.asList(goQuorumTesseraPubKey, besuTesseraPubKey),
goQuorumEnclave);
Arrays.asList(goQuorumTesseraPubKey, besuTesseraPubKey));
// Get the deployed contract address
final String contractAddress =
@ -156,10 +156,10 @@ public class ContainerTests extends ContainerTestBase {
final QuorumTransactionManager qtm =
new QuorumTransactionManager(
goQuorumWeb3j,
goQuorumEnclave,
credentials,
goQuorumTesseraPubKey,
List.of(goQuorumTesseraPubKey),
goQuorumEnclave);
List.of(goQuorumTesseraPubKey));
// Get the deployed contract address
final String contractAddress =
@ -207,7 +207,7 @@ public class ContainerTests extends ContainerTestBase {
// create a GoQuorum transaction manager
final QuorumTransactionManager qtm =
new QuorumTransactionManager(
besuWeb3j, credentials, besuTesseraPubKey, List.of(besuTesseraPubKey), besuEnclave);
besuWeb3j, besuEnclave, credentials, besuTesseraPubKey, List.of(besuTesseraPubKey));
// Get the deployed contract address
final String contractAddress =

@ -167,7 +167,6 @@ downloadLicenses {
(group('javax.persistence')) : epl1,
// jnr-posix is released under a tri EPL v2.0/GPL/LGPL license
'com.github.jnr:jnr-posix:3.0.47' : epl2,
'com.github.jnr:jnr-posix:3.1.15' : epl2,
// io.netty:netty-tcnative-boringssl-static license markings are not machine readable.

@ -186,11 +186,13 @@ dependencyManagement {
dependency 'org.testcontainers:testcontainers:1.17.2'
dependency 'org.web3j:abi:4.8.9'
dependency 'org.web3j:besu:4.8.9'
dependency 'org.web3j:core:4.8.9'
dependency 'org.web3j:crypto:4.8.9'
dependency 'org.web3j:quorum:4.8.4'
dependency 'org.web3j:quorum:4.9.0'
dependencySet(group: 'org.web3j', version: '4.9.3') {
entry 'abi'
entry 'besu'
entry 'core'
entry 'crypto'
}
dependency 'org.xerial.snappy:snappy-java:1.1.8.4'

Loading…
Cancel
Save