From 09581eac20da52d99f3cc60f1c8d91956049c208 Mon Sep 17 00:00:00 2001 From: Justin Florentine Date: Thu, 23 Jan 2025 16:32:19 -0500 Subject: [PATCH] Pectra testnet fork slots (#8163) * adds Prague slot times Signed-off-by: jflo --------- Signed-off-by: jflo --- CHANGELOG.md | 8 ++++++++ .../org/hyperledger/besu/ForkIdsNetworkConfigTest.java | 10 ++++++---- config/src/main/resources/holesky.json | 1 + config/src/main/resources/sepolia.json | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8105305c298..7c654200034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog ## Unreleased +### Breaking Changes +### Upcoming Breaking Changes +### Additions and Improvements +- Adds timestamps to enable Prague hardfork on Sepolia and Holesky test networks. [#8163](https://github.com/hyperledger/besu/pull/8163) +### Bug fixes + + +## 25.1.0 ### Breaking Changes - `--host-whitelist` has been deprecated since 2020 and this option is removed. Use the equivalent `--host-allowlist` instead. diff --git a/besu/src/test/java/org/hyperledger/besu/ForkIdsNetworkConfigTest.java b/besu/src/test/java/org/hyperledger/besu/ForkIdsNetworkConfigTest.java index e4ac7d5b5fc..86ba6881220 100644 --- a/besu/src/test/java/org/hyperledger/besu/ForkIdsNetworkConfigTest.java +++ b/besu/src/test/java/org/hyperledger/besu/ForkIdsNetworkConfigTest.java @@ -63,16 +63,18 @@ public static Collection parameters() { new ForkId(Bytes.ofUnsignedInt(0xfe3366e7L), 1735371L), new ForkId(Bytes.ofUnsignedInt(0xb96cbd13L), 1677557088L), new ForkId(Bytes.ofUnsignedInt(0xf7f9bc08L), 1706655072L), - new ForkId(Bytes.ofUnsignedInt(0x88cf81d9L), 0L), - new ForkId(Bytes.ofUnsignedInt(0x88cf81d9L), 0L)) + new ForkId(Bytes.ofUnsignedInt(0x88cf81d9L), 1739980128L), + new ForkId(Bytes.ofUnsignedInt(0xbafd09c3L), 0L), + new ForkId(Bytes.ofUnsignedInt(0xbafd09c3L), 0L)) }, new Object[] { NetworkName.HOLESKY, List.of( new ForkId(Bytes.ofUnsignedInt(0xc61a6098L), 1696000704L), new ForkId(Bytes.ofUnsignedInt(0xfd4f016bL), 1707305664L), - new ForkId(Bytes.ofUnsignedInt(0x9b192ad0L), 0L), - new ForkId(Bytes.ofUnsignedInt(0x9b192ad0L), 0L)) + new ForkId(Bytes.ofUnsignedInt(0x9b192ad0L), 1739352768L), + new ForkId(Bytes.ofUnsignedInt(0xf818a0d6L), 0L), + new ForkId(Bytes.ofUnsignedInt(0xf818a0d6L), 0L)) }, new Object[] { NetworkName.MAINNET, diff --git a/config/src/main/resources/holesky.json b/config/src/main/resources/holesky.json index e1cc51a85c6..effcd9a835e 100644 --- a/config/src/main/resources/holesky.json +++ b/config/src/main/resources/holesky.json @@ -15,6 +15,7 @@ "terminalTotalDifficulty": 0, "shanghaiTime": 1696000704, "cancunTime": 1707305664, + "pragueTime": 1739352768, "blobSchedule": { "cancun": { "target": 3, diff --git a/config/src/main/resources/sepolia.json b/config/src/main/resources/sepolia.json index 60603893975..c8de6240e6f 100644 --- a/config/src/main/resources/sepolia.json +++ b/config/src/main/resources/sepolia.json @@ -15,6 +15,7 @@ "terminalTotalDifficulty": 17000000000000000, "shanghaiTime": 1677557088, "cancunTime": 1706655072, + "pragueTime": 1739980128, "blobSchedule": { "cancun": { "target": 3,