> For the complete documentation index, see [llms.txt](https://docs.megaeth.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.megaeth.com/spec/network-upgrades/overview.md).

# Overview

MegaETH network upgrade history — hardfork timeline from MiniRex through Rex6 with activation dates and behavioral deltas.

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

## Hardfork History

### [MiniRex](/spec/network-upgrades/minirex.md)

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

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

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

### MiniRex1

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

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

Rollback: schedules the alias spec `MINI_REX_1`, whose behavior is `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: schedules the alias spec `MINI_REX_2`, whose behavior is `MINI_REX`. All MiniRex features (dual gas model, resource limits, gas detention) were re-enabled.

### [Rex](/spec/network-upgrades/rex.md)

{% 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](/spec/reference/glossary.md#storage-gas), revised storage gas economics (`base × (multiplier − 1)`), consistent CALL-like opcode behavior, [state growth](/spec/megaevm/resource-accounting.md#state-growth) tracking

### [Rex1](/spec/network-upgrades/rex1.md)

{% 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](/spec/reference/glossary.md#compute-gas) limit reset between transactions

### [Rex2](/spec/network-upgrades/rex2.md)

{% 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](/spec/system-contracts/keyless-deploy.md) system contract

### [Rex3](/spec/network-upgrades/rex3.md)

{% 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](/spec/system-contracts/oracle.md) gas cap raised to 20M, SLOAD-based oracle detention, keyless deploy compute gas tracking

### [Rex4](/spec/network-upgrades/rex4.md)

{% tabs %}
{% tab title="Testnet" %}
`1776400000` (Apr 17, 2026, 04:26 UTC)
{% endtab %}

{% tab title="Mainnet" %}
`1776659200` (Apr 20, 2026, 04:26 UTC)
{% endtab %}
{% endtabs %}

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

### [Rex5](/spec/network-upgrades/rex5.md)

{% tabs %}
{% tab title="Testnet" %}
`1780459200` (Jun 3, 2026, 04:00 UTC)
{% endtab %}

{% tab title="Mainnet" %}
`1780632000` (Jun 5, 2026, 04:00 UTC)
{% endtab %}
{% endtabs %}

[SequencerRegistry](/spec/system-contracts/sequencer-registry.md) system contract, [Oracle](/spec/system-contracts/oracle.md) v2.0.0 with dynamic system address, caller-account update deduplication for [data size](/spec/megaevm/resource-accounting.md#data-size) and [KV updates](/spec/megaevm/resource-accounting.md#kv-updates), [storage gas stipend](/spec/reference/glossary.md#storage-gas-stipend) separated-allowance model, value-transfer CALL/CALLCODE parent [compute gas](/spec/reference/glossary.md#compute-gas) attribution, CREATE code-deposit compute-gas atomicity, EIP-2935/EIP-4788 pre-block gas floor with fail-closed block rejection, CREATE2 empty-initcode short-circuit, [KeylessDeploy](/spec/system-contracts/keyless-deploy.md) trailing-bytes rejection, sandbox resource accounting, and empty-code log forwarding, precompile compute gas correction, EIP-7702 [state growth](/spec/megaevm/resource-accounting.md#state-growth) tracking, non-delegating metering inspection, SELFDESTRUCT beneficiary accounting.

### [Rex6](/spec/network-upgrades/rex6.md)

{% tabs %}
{% tab title="Testnet" %}
`1786330800` (Aug 10, 2026, 03:00 UTC)
{% endtab %}

{% tab title="Mainnet" %}
`1787626800` (Aug 25, 2026, 03:00 UTC)
{% endtab %}
{% endtabs %}

Unified per-opcode [gas metering order](/spec/megaevm/dual-gas-model.md#gas-metering-order), consolidated EIP-7702 authorization accounting with dynamic SALT account-creation gas for net-new authorities, CREATE-frame accounting corrections, [KeylessDeploy](/spec/system-contracts/keyless-deploy.md) sandbox hardening, post-execution fee-reward accounting, [system-originated transaction](/spec/system-contracts/system-tx.md#system-originated-transaction-metering-exemption) metering exemption, extended beneficiary detention / volatile-access coverage, per-log [data size](/spec/megaevm/resource-accounting.md#data-size) base, forwarded-gas return on compute-limit halts, value self-transfer account-info dedup, [SequencerRegistry](/spec/system-contracts/sequencer-registry.md) v2.0.0 rotation hardening (EIP-712 possession proof + minimum rotation delay).

## 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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.megaeth.com/spec/network-upgrades/overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
