Skip to content

Commit 375a700

Browse files
authored
Add Hoodi discovery DNS (#8446)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 parent 87f58bc commit 375a700

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

CHANGELOG.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Changelog
22

33
## Unreleased
4+
### Breaking Changes
5+
### Additions and Improvements
6+
- Add Hoodi discovery DNS [#8446](https://github.com/hyperledger/besu/pull/8446)
7+
8+
#### Dependencies
9+
- Replace tuweni libs with https://github.com/Consensys/tuweni [#8330](https://github.com/hyperledger/besu/pull/8330)
10+
- Performance: Consensys/tuweni 2.6.0 reduces boxing/unboxing overhead on some EVM opcodes, like PushX and Caller [#8330](https://github.com/hyperledger/besu/pull/8330)
11+
12+
### Bug fixes
13+
- Fix QBFT and IBFT transitions that change the mining beneficiary [#8387](https://github.com/hyperledger/besu/issues/8387)
14+
- `eth_getLogs` - empty topic is a wildcard match [#8420](https://github.com/hyperledger/besu/pull/8420)
15+
16+
## 25.3.0
417

518
### Breaking Changes
619
NOTE: This release breaks native Windows compatibility for mainnet ethereum configurations. As the prague(pectra) hardfork require
@@ -50,16 +63,12 @@ have support in besu-native can run mainnet ethereum configurations. Windows su
5063
- Support pending transaction score when saving and restoring txpool [#8363](https://github.com/hyperledger/besu/pull/8363)
5164
- Upgrade to execution-spec-tests v4.1.0 including better EIP-2537 coverage for BLS [#8402](https://github.com/hyperledger/besu/pull/8402)
5265
- Add era1 format to blocks import subcommand [#7935](https://github.com/hyperledger/besu/issues/7935)
53-
- Replace tuweni libs with https://github.com/Consensys/tuweni
54-
- Performance: Consensys/tuweni 2.6.0 reduces boxing/unboxing overhead on some EVM opcodes, like PushX and Caller
5566
- Add Hoodi as new named testnet [#8428](https://github.com/hyperledger/besu/issues/8428)
5667

5768
### Bug fixes
5869
- Add missing RPC method `debug_accountRange` to `RpcMethod.java` so this method can be used with `--rpc-http-api-method-no-auth` [#8153](https://github.com/hyperledger/besu/issues/8153)
5970
- Add a fallback pivot strategy when the safe block does not change for a long time, to make possible to complete the initial sync in case the chain is not finalizing [#8395](https://github.com/hyperledger/besu/pull/8395)
6071
- Fix issue with new QBFT/IBFT blocks being produced under certain circumstances. [#8308](https://github.com/hyperledger/besu/issues/8308)
61-
- Fix QBFT and IBFT transitions that change the mining beneficiary [#8387](https://github.com/hyperledger/besu/issues/8387)
62-
- `eth_getLogs` - empty topic is a wildcard match [#8420](https://github.com/hyperledger/besu/pull/8420)
6372

6473
## 25.2.2 hotfix
6574
- Pectra - Sepolia: Fix for deposit contract log decoding [#8383](https://github.com/hyperledger/besu/pull/8383)

besu/src/test/java/org/hyperledger/besu/cli/BesuCommandTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import static org.hyperledger.besu.cli.config.NetworkName.SEPOLIA;
3232
import static org.hyperledger.besu.ethereum.api.jsonrpc.RpcApis.ENGINE;
3333
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.HOODI_BOOTSTRAP_NODES;
34+
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.HOODI_DISCOVERY_URL;
3435
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.MAINNET_BOOTSTRAP_NODES;
3536
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.MAINNET_DISCOVERY_URL;
3637
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.SEPOLIA_BOOTSTRAP_NODES;
@@ -547,7 +548,7 @@ public void testGenesisPathHoodiEthConfig() {
547548

548549
final EthNetworkConfig config = networkArg.getValue();
549550
assertThat(config.bootNodes()).isEqualTo(HOODI_BOOTSTRAP_NODES);
550-
assertThat(config.dnsDiscoveryUrl()).isNull();
551+
assertThat(config.dnsDiscoveryUrl()).isEqualTo(HOODI_DISCOVERY_URL);
551552
assertThat(config.networkId()).isEqualTo(BigInteger.valueOf(560048));
552553
}
553554

besu/src/test/java/org/hyperledger/besu/cli/config/EthNetworkConfigTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import static org.assertj.core.api.Assertions.assertThat;
1818
import static org.hyperledger.besu.cli.config.NetworkName.MAINNET;
1919
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.HOODI_BOOTSTRAP_NODES;
20+
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.HOODI_DISCOVERY_URL;
2021
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.MAINNET_BOOTSTRAP_NODES;
2122
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.MAINNET_DISCOVERY_URL;
2223
import static org.hyperledger.besu.ethereum.p2p.config.DefaultDiscoveryConfiguration.SEPOLIA_BOOTSTRAP_NODES;
@@ -52,7 +53,7 @@ public void testDefaultSepoliaConfig() {
5253
@Test
5354
public void testDefaultHoodiConfig() {
5455
EthNetworkConfig config = EthNetworkConfig.getNetworkConfig(NetworkName.HOODI);
55-
assertThat(config.dnsDiscoveryUrl()).isNull();
56+
assertThat(config.dnsDiscoveryUrl()).isEqualTo(HOODI_DISCOVERY_URL);
5657
assertThat(config.bootNodes()).isEqualTo(HOODI_BOOTSTRAP_NODES);
5758
assertThat(config.networkId()).isEqualTo(BigInteger.valueOf(560048));
5859
}

besu/src/test/java/org/hyperledger/besu/ethereum/p2p/config/DefaultDiscoveryConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
public class DefaultDiscoveryConfiguration {
2727
public static final String SEPOLIA_DISCOVERY_URL =
2828
"enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.sepolia.ethdisco.net";
29+
public static final String HOODI_DISCOVERY_URL =
30+
"enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.hoodi.ethdisco.net";
2931
public static final String MAINNET_DISCOVERY_URL =
3032
"enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net";
3133

config/src/main/resources/hoodi.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"depositContractAddress": "0x00000000219ab540356cbb839cbe05303d7705fa",
3333
"discovery": {
34+
"dns": "enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.hoodi.ethdisco.net",
3435
"bootnodes": [
3536
"enode://2112dd3839dd752813d4df7f40936f06829fc54c0e051a93967c26e5f5d27d99d886b57b4ffcc3c475e930ec9e79c56ef1dbb7d86ca5ee83a9d2ccf36e5c240c@134.209.138.84:30303",
3637
"enode://60203fcb3524e07c5df60a14ae1c9c5b24023ea5d47463dfae051d2c9f3219f309657537576090ca0ae641f73d419f53d8e8000d7a464319d4784acd7d2abc41@209.38.124.160:30303",

0 commit comments

Comments
 (0)