File tree Expand file tree Collapse file tree 17 files changed +41
-47
lines changed
src/testFixtures/java/tech/pegasys/teku/spec/datastructures/interop Expand file tree Collapse file tree 17 files changed +41
-47
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies {
2626 testImplementation testFixtures(project(' :infrastructure:metrics' ))
2727 testImplementation testFixtures(project(' ::networking:eth2' ))
2828 testImplementation testFixtures(project(' ::networking:p2p' ))
29- testImplementation ' org.hyperledger.besu.internal:metrics-core'
29+ testImplementation ' org.hyperledger.besu.internal:besu- metrics-core'
3030
3131 integrationTestImplementation testFixtures(project(' :infrastructure:bls' ))
3232 integrationTestImplementation testFixtures(project(' :ethereum:statetransition' ))
@@ -51,7 +51,7 @@ dependencies {
5151 testFixturesImplementation testFixtures(project(' :infrastructure:metrics' ))
5252
5353 testFixturesImplementation ' org.mockito:mockito-core'
54- testFixturesImplementation ' org.hyperledger.besu:plugin-api'
55- testFixturesImplementation ' org.hyperledger.besu.internal:metrics-core'
54+ testFixturesImplementation ' org.hyperledger.besu:besu- plugin-api'
55+ testFixturesImplementation ' org.hyperledger.besu.internal:besu- metrics-core'
5656 testFixturesImplementation ' com.google.guava:guava'
5757}
Original file line number Diff line number Diff line change @@ -987,21 +987,12 @@ subprojects {
987987 propertyTestRuntimeOnly. extendsFrom testRuntimeOnly
988988 referenceTestRuntimeOnly. extendsFrom testRuntimeOnly
989989
990- // exclude until Besu dependencies start using io.consensys.protocols:jc-kzg-4844
991- implementation {
992- exclude(group : " tech.pegasys" , module : " jc-kzg-4844" )
993- }
994-
995990 // Details at https://github.com/Hakky54/log-captor#using-log-captor-alongside-with-other-logging-libraries
996991 testImplementation {
997992 exclude(group : " org.apache.logging.log4j" , module : " log4j-slf4j-impl" )
998993 exclude(group : " org.apache.logging.log4j" , module : " log4j-slf4j2-impl" )
999994 }
1000995
1001- // exclude until we update Besu dependencies (https://github.com/Consensys/teku/issues/10060)
1002- configureEach {
1003- exclude(group : " io.netty" , module : " netty-codec-smtp" )
1004- }
1005996 }
1006997
1007998 def jarName = project. name
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ dependencies {
99
1010 implementation ' com.fasterxml.jackson.core:jackson-databind'
1111 implementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
12- implementation ' org.hyperledger.besu.internal:metrics-core'
12+ implementation ' org.hyperledger.besu.internal:besu- metrics-core'
1313 implementation ' com.squareup.okhttp3:okhttp'
1414 compileOnly ' com.github.oshi:oshi-core-java11'
1515
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies {
2222 referenceTestImplementation project(' :infrastructure:time' )
2323 referenceTestImplementation project(' :data:dataexchange' )
2424
25- referenceTestImplementation ' org.hyperledger.besu:plugin-api'
25+ referenceTestImplementation ' org.hyperledger.besu:besu- plugin-api'
2626 referenceTestImplementation ' com.fasterxml.jackson.core:jackson-databind'
2727 referenceTestImplementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
2828 referenceTestImplementation ' io.consensys.tuweni:tuweni-bytes'
Original file line number Diff line number Diff line change 11dependencies {
2- implementation ' org.hyperledger.besu:plugin-api'
2+ implementation ' org.hyperledger.besu:besu- plugin-api'
33 implementation project(' :infrastructure:metrics' )
44 implementation project(' :infrastructure:logging' )
55 implementation project(' :infrastructure:time' )
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ dependencies {
3939 testFixturesImplementation ' org.apache.logging.log4j:log4j-api'
4040 testFixturesImplementation ' io.consensys.tuweni:tuweni-units'
4141 testFixturesImplementation ' io.consensys.tuweni:tuweni-ssz'
42- testFixturesImplementation ' org.hyperledger.besu.internal:core'
43- testFixturesImplementation ' org.hyperledger.besu.internal:config'
42+ testFixturesImplementation ' org.hyperledger.besu.internal:besu-ethereum- core'
43+ testFixturesImplementation ' org.hyperledger.besu.internal:besu- config'
4444 testFixturesImplementation ' org.hyperledger.besu:besu-datatypes'
45- testFixturesImplementation ' org.hyperledger.besu:evm'
46- testFixturesImplementation ' org.hyperledger.besu:plugin-api'
45+ testFixturesImplementation ' org.hyperledger.besu:besu- evm'
46+ testFixturesImplementation ' org.hyperledger.besu:besu- plugin-api'
4747 testFixturesImplementation ' org.junit.jupiter:junit-jupiter-api'
4848 testFixturesImplementation project(' :ethereum:performance-trackers' )
4949 testFixturesImplementation project(' :ethereum:execution-types' )
@@ -77,5 +77,5 @@ dependencies {
7777 testImplementation testFixtures(project(' :infrastructure:metrics' ))
7878 testImplementation testFixtures(project(' :infrastructure:time' ))
7979
80- testFixturesImplementation ' org.hyperledger.besu.internal:metrics-core'
80+ testFixturesImplementation ' org.hyperledger.besu.internal:besu- metrics-core'
8181}
Original file line number Diff line number Diff line change 2323import org .hyperledger .besu .ethereum .core .MiningConfiguration ;
2424import org .hyperledger .besu .ethereum .mainnet .MainnetProtocolSchedule ;
2525import org .hyperledger .besu .ethereum .mainnet .ProtocolSchedule ;
26+ import org .hyperledger .besu .ethereum .trie .pathbased .bonsai .cache .CodeCache ;
2627import org .hyperledger .besu .metrics .noop .NoOpMetricsSystem ;
2728import tech .pegasys .teku .infrastructure .bytes .Bytes20 ;
2829import tech .pegasys .teku .infrastructure .unsigned .UInt64 ;
@@ -43,8 +44,10 @@ public static ExecutionPayloadHeader createPayloadForBesuGenesis(
4344 MiningConfiguration .MINING_DISABLED ,
4445 badBlockManager ,
4546 false ,
47+ false ,
4648 new NoOpMetricsSystem ());
47- final GenesisState genesisState = GenesisState .fromConfig (configFile , protocolSchedule );
49+ final GenesisState genesisState =
50+ GenesisState .fromConfig (configFile , protocolSchedule , new CodeCache ());
4851 final Block genesisBlock = genesisState .getBlock ();
4952 final BlockHeader header = genesisBlock .getHeader ();
5053
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies {
2626 implementation project(' :storage:api' )
2727
2828 implementation ' io.consensys.tuweni:tuweni-units'
29- implementation ' org.hyperledger.besu.internal:metrics-core'
29+ implementation ' org.hyperledger.besu.internal:besu- metrics-core'
3030 implementation ' io.libp2p:jvm-libp2p'
3131
3232 testImplementation testFixtures(project(' :ethereum:spec' ))
Original file line number Diff line number Diff line change @@ -147,15 +147,15 @@ dependencyManagement {
147147
148148 dependency ' io.prometheus:prometheus-metrics-bom:1.3.10'
149149
150- dependencySet(group : ' org.hyperledger.besu.internal' , version : ' 25.6 .0' ) {
151- entry ' metrics-core'
152- entry ' core'
153- entry ' config'
150+ dependencySet(group : ' org.hyperledger.besu.internal' , version : ' 25.11 .0' ) {
151+ entry ' besu- metrics-core'
152+ entry ' besu-ethereum- core'
153+ entry ' besu- config'
154154 }
155- dependencySet(group : ' org.hyperledger.besu' , version : ' 25.6 .0' ) {
155+ dependencySet(group : ' org.hyperledger.besu' , version : ' 25.11 .0' ) {
156156 entry ' besu-datatypes'
157- entry ' evm'
158- entry ' plugin-api'
157+ entry ' besu- evm'
158+ entry ' besu- plugin-api'
159159 }
160160
161161 dependencySet(group : ' org.testcontainers' , version : ' 1.21.3' ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ dependencies {
33 implementation project(' :infrastructure:async' )
44 implementation project(' :infrastructure:subscribers' )
55
6- testImplementation ' org.hyperledger.besu.internal:metrics-core'
6+ testImplementation ' org.hyperledger.besu.internal:besu- metrics-core'
77 testImplementation testFixtures(project(' :infrastructure:async' ))
88}
99
You can’t perform that action at this time.
0 commit comments