File tree Expand file tree Collapse file tree 7 files changed +0
-20
lines changed
src/main/java/tech/pegasys/teku Expand file tree Collapse file tree 7 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,6 @@ application {
557557 applicationName = " teku"
558558 getMainClass(). set(" tech.pegasys.teku.Teku" )
559559 applicationDefaultJvmArgs = [
560- " -Dvertx.disableFileCPResolving=true" ,
561560 " -Dteku.home=TEKU_HOME" ,
562561 // We shutdown log4j ourselves, as otherwise his shutdown hook runs before our own and whatever
563562 // happens during shutdown is not logged.
Original file line number Diff line number Diff line change 112112 "moduleLicense" : " Apache License, Version 2.0" ,
113113 "moduleLicenseUrl" : " https://github.com/libp2p/jvm-libp2p/blob/develop/LICENSE-APACHE"
114114 },
115- {
116- "moduleName" : " io.vertx" ,
117- "moduleLicense" : " Apache License, Version 2.0"
118- },
119115 {
120116 "moduleName" : " jakarta.activation:jakarta.activation-api" ,
121117 "moduleLicense" : " Eclipse Distribution License - v 1.0"
Original file line number Diff line number Diff line change @@ -69,14 +69,6 @@ dependencyManagement {
6969 entry ' netty-codec-http'
7070 }
7171
72- dependencySet(group : ' io.vertx' , version : ' 4.5.18' ) {
73- entry ' vertx-codegen'
74- entry ' vertx-core'
75- entry ' vertx-unit'
76- entry ' vertx-web'
77- }
78- dependency ' io.projectreactor:reactor-core:3.7.8'
79-
8072 dependency ' it.unimi.dsi:fastutil:8.5.16'
8173
8274 dependency ' javax.annotation:javax.annotation-api:1.3.2'
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ dependencies {
66 implementation project(' :infrastructure:time' )
77
88 implementation ' com.fasterxml.jackson.core:jackson-databind'
9- implementation ' io.vertx:vertx-core'
10- implementation ' io.vertx:vertx-web'
119 implementation ' io.consensys.tuweni:tuweni-units'
1210 implementation ' org.hdrhistogram:HdrHistogram'
1311 implementation ' org.hyperledger.besu.internal:besu-metrics-core'
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ dependencies {
1919
2020 implementation ' io.libp2p:jvm-libp2p'
2121 implementation ' io.netty:netty-handler'
22- implementation ' io.projectreactor:reactor-core'
2322 implementation ' io.consensys.tuweni:tuweni-units'
2423 implementation ' io.consensys.tuweni:tuweni-crypto'
2524 implementation ' tech.pegasys.discovery:discovery'
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ dependencies {
5151 implementation ' com.squareup.okhttp3:okhttp'
5252 implementation ' info.picocli:picocli'
5353 implementation ' io.libp2p:jvm-libp2p'
54- implementation ' io.vertx:vertx-core'
5554 implementation ' org.apache.logging.log4j:log4j-slf4j-impl'
5655 implementation ' org.apache.logging.log4j:log4j-slf4j2-impl'
5756 implementation ' io.consensys.tuweni:tuweni-ssz'
Original file line number Diff line number Diff line change 1818import static tech .pegasys .teku .networks .Eth2NetworkConfiguration .MAX_EPOCHS_STORE_BLOBS ;
1919
2020import com .google .common .util .concurrent .ThreadFactoryBuilder ;
21- import io .vertx .core .Vertx ;
2221import java .time .Duration ;
2322import java .util .Optional ;
2423import java .util .concurrent .ExecutorService ;
5352public abstract class AbstractNode implements Node {
5453 private static final Logger LOG = LogManager .getLogger ();
5554
56- private final Vertx vertx = Vertx .vertx ();
5755 private final ExecutorService threadPool =
5856 Executors .newCachedThreadPool (
5957 new ThreadFactoryBuilder ().setDaemon (true ).setNameFormat ("events-%d" ).build ());
@@ -254,7 +252,6 @@ public void stop() {
254252 .thenCompose (__ -> metricsEndpoint .stop ())
255253 .orTimeout (5 , TimeUnit .SECONDS )
256254 .handleException (error -> LOG .debug ("Failed to stop metrics" , error ))
257- .thenRun (vertx ::close )
258255 .join ();
259256 }
260257}
You can’t perform that action at this time.
0 commit comments