from __future__ import annotations

from typing import Any, Dict

from chia.consensus.default_constants import update_testnet_overrides


def test_testnet11() -> None:
    overrides: Dict[str, Any] = {}
    update_testnet_overrides("testnet11", overrides)
    assert overrides == {
        "SOFT_FORK4_HEIGHT": 641500,
        "SOFT_FORK5_HEIGHT": 1340000,
    }


def test_mainnet() -> None:
    overrides: Dict[str, Any] = {}
    update_testnet_overrides("mainnet", overrides)
    assert overrides == {}
