Skip to content

Commit e8860d2

Browse files
jframesiladu
andauthored
Update Fusaka forks for testnets (#9196)
* Update Fusaka forks for testnets Signed-off-by: Jason Frame <[email protected]> * changelog Signed-off-by: Jason Frame <[email protected]> * add osaka bpo Signed-off-by: Jason Frame <[email protected]> * updated changelog to add BPO1 and BPO2 Signed-off-by: Jason Frame <[email protected]> --------- Signed-off-by: Jason Frame <[email protected]> Signed-off-by: Simon Dudley <[email protected]> Co-authored-by: Simon Dudley <[email protected]>
1 parent 156a2f4 commit e8860d2

File tree

5 files changed

+70
-6
lines changed

5 files changed

+70
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- Expose new method to query hardfork by block number Plugin API [#9115](https://github.com/hyperledger/besu/pull/9115)
2222
- Support loading multiple transaction selector plugins [#8743](https://github.com/hyperledger/besu/pull/9139)
2323
- Configurable limit for how much time plugins are allowed take, to propose transactions, during block creation [#9184](https://github.com/hyperledger/besu/pull/9184)
24+
- Add Osaka, BPO1 and BPO2 fork times for holesky, hoodi and sepolia [#9196](https://github.com/hyperledger/besu/pull/9196/files)
2425

2526
#### Performance
2627
- Add jmh benchmarks for some compute-related opcodes [#9069](https://github.com/hyperledger/besu/pull/9069)

app/src/test/java/org/hyperledger/besu/ForkIdsNetworkConfigTest.java

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,33 @@ public static Collection<Object[]> parameters() {
6666
new ForkId(Bytes.ofUnsignedInt(0xb96cbd13L), 1677557088L),
6767
new ForkId(Bytes.ofUnsignedInt(0xf7f9bc08L), 1706655072L),
6868
new ForkId(Bytes.ofUnsignedInt(0x88cf81d9L), 1741159776L),
69-
new ForkId(Bytes.ofUnsignedInt(0xed88b5fdL), 0L),
70-
new ForkId(Bytes.ofUnsignedInt(0xed88b5fdL), 0L))
69+
new ForkId(Bytes.ofUnsignedInt(0xed88b5fdL), 1760427360L),
70+
new ForkId(Bytes.ofUnsignedInt(0xe2ae4999L), 1761017184L),
71+
new ForkId(Bytes.ofUnsignedInt(0x56078a1eL), 1761607008L),
72+
new ForkId(Bytes.ofUnsignedInt(0x268956b6L), 0L),
73+
new ForkId(Bytes.ofUnsignedInt(0x268956b6L), 0L))
7174
},
7275
new Object[] {
7376
NetworkName.HOODI,
7477
List.of(
7578
new ForkId(Bytes.ofUnsignedInt(0xbef71d30L), 1742999832L),
76-
new ForkId(Bytes.ofUnsignedInt(0x0929e24eL), 0L),
77-
new ForkId(Bytes.ofUnsignedInt(0x0929e24eL), 0L))
79+
new ForkId(Bytes.ofUnsignedInt(0x0929e24eL), 1761677592L),
80+
new ForkId(Bytes.ofUnsignedInt(0xe7e0e7ffL), 1762365720L),
81+
new ForkId(Bytes.ofUnsignedInt(0x3893353eL), 1762955544L),
82+
new ForkId(Bytes.ofUnsignedInt(0x23aa1351L), 0L),
83+
new ForkId(Bytes.ofUnsignedInt(0x23aa1351L), 0L))
7884
},
7985
new Object[] {
8086
NetworkName.HOLESKY,
8187
List.of(
8288
new ForkId(Bytes.ofUnsignedInt(0xc61a6098L), 1696000704L),
8389
new ForkId(Bytes.ofUnsignedInt(0xfd4f016bL), 1707305664L),
8490
new ForkId(Bytes.ofUnsignedInt(0x9b192ad0L), 1740434112L),
85-
new ForkId(Bytes.ofUnsignedInt(0xdfbd9bedL), 0L),
86-
new ForkId(Bytes.ofUnsignedInt(0xdfbd9bedL), 0L))
91+
new ForkId(Bytes.ofUnsignedInt(0xdfbd9bedL), 1759308480L),
92+
new ForkId(Bytes.ofUnsignedInt(0x783def52L), 1759800000L),
93+
new ForkId(Bytes.ofUnsignedInt(0xa280a45cL), 1760389824L),
94+
new ForkId(Bytes.ofUnsignedInt(0x9bc6cb31L), 0L),
95+
new ForkId(Bytes.ofUnsignedInt(0x9bc6cb31L), 0L))
8796
},
8897
new Object[] {
8998
NetworkName.MAINNET,

config/src/main/resources/holesky.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"shanghaiTime": 1696000704,
1717
"cancunTime": 1707305664,
1818
"pragueTime": 1740434112,
19+
"osakaTime": 1759308480,
20+
"bpo1Time": 1759800000,
21+
"bpo2Time": 1760389824,
1922
"blobSchedule": {
2023
"cancun": {
2124
"target": 3,
@@ -26,6 +29,21 @@
2629
"target": 6,
2730
"max": 9,
2831
"baseFeeUpdateFraction": 5007716
32+
},
33+
"osaka": {
34+
"target": 6,
35+
"max": 9,
36+
"baseFeeUpdateFraction": 5007716
37+
},
38+
"bpo1": {
39+
"target": 10,
40+
"max": 15,
41+
"baseFeeUpdateFraction": 8346193
42+
},
43+
"bpo2": {
44+
"target": 14,
45+
"max": 21,
46+
"baseFeeUpdateFraction": 11684671
2947
}
3048
},
3149
"ethash": {},

config/src/main/resources/hoodi.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"depositContractAddress": "0x00000000219ab540356cbb839cbe05303d7705fa",
2121
"withdrawalRequestContractAddress": "0x00000961ef480eb55e80d19ad83579a64c007002",
2222
"consolidationRequestContractAddress": "0x0000bbddc7ce488642fb579f8b00f3a590007251",
23+
"osakaTime": 1761677592,
24+
"bpo1Time": 1762365720,
25+
"bpo2Time": 1762955544,
2326
"blobSchedule": {
2427
"cancun": {
2528
"target": 3,
@@ -30,6 +33,21 @@
3033
"target": 6,
3134
"max": 9,
3235
"baseFeeUpdateFraction": 5007716
36+
},
37+
"osaka": {
38+
"target": 6,
39+
"max": 9,
40+
"baseFeeUpdateFraction": 5007716
41+
},
42+
"bpo1": {
43+
"target": 10,
44+
"max": 15,
45+
"baseFeeUpdateFraction": 8346193
46+
},
47+
"bpo2": {
48+
"target": 14,
49+
"max": 21,
50+
"baseFeeUpdateFraction": 11684671
3351
}
3452
},
3553

config/src/main/resources/sepolia.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"shanghaiTime": 1677557088,
1717
"cancunTime": 1706655072,
1818
"pragueTime": 1741159776,
19+
"osakaTime": 1760427360,
20+
"bpo1Time": 1761017184,
21+
"bpo2Time": 1761607008,
1922
"blobSchedule": {
2023
"cancun": {
2124
"target": 3,
@@ -26,6 +29,21 @@
2629
"target": 6,
2730
"max": 9,
2831
"baseFeeUpdateFraction": 5007716
32+
},
33+
"osaka": {
34+
"target": 6,
35+
"max": 9,
36+
"baseFeeUpdateFraction": 5007716
37+
},
38+
"bpo1": {
39+
"target": 10,
40+
"max": 15,
41+
"baseFeeUpdateFraction": 8346193
42+
},
43+
"bpo2": {
44+
"target": 14,
45+
"max": 21,
46+
"baseFeeUpdateFraction": 11684671
2947
}
3048
},
3149
"ethash":{},

0 commit comments

Comments
 (0)