# Overview

This section documents each MegaETH network upgrade, describing what changed, why, and what developers need to know.

## Hardfork History

### [MiniRex](https://docs.megaeth.com/spec/network-upgrades/minirex)

{% tabs %}
{% tab title="Testnet" %}
`0` (Genesis)
{% endtab %}

{% tab title="Mainnet" %}
`0` (Genesis)
{% endtab %}
{% endtabs %}

[Dual gas model](https://docs.megaeth.com/spec/megaevm/dual-gas-model), [multidimensional resource limits](https://docs.megaeth.com/spec/megaevm/resource-limits), [gas detention](https://docs.megaeth.com/spec/megaevm/gas-detention), 98/100 gas forwarding, SELFDESTRUCT disabled, system contracts ([Oracle](https://docs.megaeth.com/spec/system-contracts/oracle), [Timestamp](https://docs.megaeth.com/spec/system-contracts/high-precision-timestamp))

### MiniRex1

{% tabs %}
{% tab title="Testnet" %}
N/A
{% endtab %}

{% tab title="Mainnet" %}
`1764845637` (Dec 4, 2025, 10:53 UTC)
{% endtab %}
{% endtabs %}

Rollback: reverted to Equivalence spec (maps to `EQUIVALENCE`). The MiniRex features were deactivated on the network; no chain reorg or state rollback occurred. Contracts deployed during MiniRex remained on-chain.

### MiniRex2

{% tabs %}
{% tab title="Testnet" %}
N/A
{% endtab %}

{% tab title="Mainnet" %}
`1764849932` (Dec 4, 2025, 12:05 UTC)
{% endtab %}
{% endtabs %}

Restoration: re-activated MiniRex spec (maps to `MINI_REX`). All MiniRex features (dual gas model, resource limits, gas detention) were re-enabled.

### [Rex](https://docs.megaeth.com/spec/network-upgrades/rex)

{% tabs %}
{% tab title="Testnet" %}
`1764694618` (Dec 2, 2025, 16:56 UTC)
{% endtab %}

{% tab title="Mainnet" %}
`1764851940` (Dec 4, 2025, 12:39 UTC)
{% endtab %}
{% endtabs %}

Transaction intrinsic [storage gas](https://docs.megaeth.com/spec/reference/glossary#storage-gas), revised storage gas economics (`base × (multiplier − 1)`), consistent CALL-like opcode behavior, [state growth](https://docs.megaeth.com/spec/megaevm/resource-accounting#state-growth) tracking

### [Rex1](https://docs.megaeth.com/spec/network-upgrades/rex1)

{% tabs %}
{% tab title="Testnet" %}
`1766147599` (Dec 19, 2025, 12:33 UTC)
{% endtab %}

{% tab title="Mainnet" %}
`1766282400` (Dec 21, 2025, 02:00 UTC)
{% endtab %}
{% endtabs %}

Fix: [compute gas](https://docs.megaeth.com/spec/reference/glossary#compute-gas) limit reset between transactions

### [Rex2](https://docs.megaeth.com/spec/network-upgrades/rex2)

{% tabs %}
{% tab title="Testnet" %}
`1770116400` (Feb 3, 2026, 11:00 UTC)
{% endtab %}

{% tab title="Mainnet" %}
`1770246000` (Feb 4, 2026, 23:00 UTC)
{% endtab %}
{% endtabs %}

SELFDESTRUCT re-enabled ([EIP-6780](https://eips.ethereum.org/EIPS/eip-6780)), [KeylessDeploy](https://docs.megaeth.com/spec/system-contracts/keyless-deploy) system contract

### [Rex3](https://docs.megaeth.com/spec/network-upgrades/rex3)

{% tabs %}
{% tab title="Testnet" %}
`1771380000` (Feb 18, 2026, 02:00 UTC)
{% endtab %}

{% tab title="Mainnet" %}
`1771639200` (Feb 21, 2026, 02:00 UTC)
{% endtab %}
{% endtabs %}

[Oracle](https://docs.megaeth.com/spec/system-contracts/oracle) gas cap raised to 20M, SLOAD-based oracle detention, keyless deploy compute gas tracking

### [Rex4](https://docs.megaeth.com/spec/network-upgrades/rex4)

Per-[call-frame](https://docs.megaeth.com/spec/reference/glossary#call-frame) resource budgets, relative gas detention, [storage gas stipend](https://docs.megaeth.com/spec/reference/glossary#storage-gas-stipend), MegaAccessControl, MegaLimitControl, sandbox environment inheritance.

### [Rex5](https://docs.megaeth.com/spec/network-upgrades/rex5) *(unstable)*

No behavioral changes defined yet.

## How to Read These Pages

Each upgrade page follows a consistent structure:

* **Summary** — What changed and why
* **What Changed** — Previous vs new behavior for each change
* **Developer Impact** — What contract authors and integrators need to know
* **Safety and Compatibility** — Backward-compatibility boundaries and failure-mode differences
* **References** — Links to the normative spec and related documentation
