Skip to content

Commit

Permalink
Update soft for height in main for testnet to 2997292 (#15872)
Browse files Browse the repository at this point in the history
* Update soft for height in main for testnet

* More updates to SOFT_FORK3_HEIGHT
  • Loading branch information
emlowe authored Jul 26, 2023
1 parent d3c0cd2 commit 3a81506
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chia/server/start_full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def update_testnet_overrides(network_id: str, overrides: Dict[str, Any]) -> None
if "SOFT_FORK2_HEIGHT" not in overrides:
overrides["SOFT_FORK2_HEIGHT"] = 0
if "SOFT_FORK3_HEIGHT" not in overrides:
overrides["SOFT_FORK3_HEIGHT"] = 2960728
overrides["SOFT_FORK3_HEIGHT"] = 2997292
if "HARD_FORK_HEIGHT" not in overrides:
overrides["HARD_FORK_HEIGHT"] = 2997292
if "PLOT_FILTER_128_HEIGHT" not in overrides:
Expand Down
10 changes: 5 additions & 5 deletions chia/util/initial-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ network_overrides: &network_overrides
MEMPOOL_BLOCK_BUFFER: 10
MIN_PLOT_SIZE: 18
SOFT_FORK2_HEIGHT: 0
SOFT_FORK3_HEIGHT: 0
SOFT_FORK3_HEIGHT: 2997292
# planned 2.0 release is July 26, height 2965036 on testnet
# 1 week later
HARD_FORK_HEIGHT": 2997292
HARD_FORK_HEIGHT: 2997292
# another 2 weeks later
PLOT_FILTER_128_HEIGHT": 3061804
PLOT_FILTER_128_HEIGHT: 3061804
# 3 years later
PLOT_FILTER_64_HEIGHT": 8010796
PLOT_FILTER_64_HEIGHT: 8010796
# 3 years later
PLOT_FILTER_32_HEIGHT": 13056556
PLOT_FILTER_32_HEIGHT: 13056556
config:
mainnet:
address_prefix: "xch"
Expand Down
2 changes: 1 addition & 1 deletion tests/util/test_testnet_overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_testnet10() -> None:
update_testnet_overrides("testnet10", overrides)
assert overrides == {
"SOFT_FORK2_HEIGHT": 0,
"SOFT_FORK3_HEIGHT": 2960728,
"SOFT_FORK3_HEIGHT": 2997292,
"HARD_FORK_HEIGHT": 2997292,
"PLOT_FILTER_128_HEIGHT": 3061804,
"PLOT_FILTER_64_HEIGHT": 8010796,
Expand Down

0 comments on commit 3a81506

Please sign in to comment.