Repository navigation
Releases
v2.5.2
v2.5.2 is a recommended maintenance release on top of v2.5.1: hardening and correctness fixes across the API, p2p, block sync, the action pool, minting and consensus. No hardfork, no genesis change, no required config change, no resync.
Some defaults and limits change. Before upgrading, read "Changes operators will notice" in the release note, especially for delegates and public API nodes:
- Delegates:
enforceRoundLockis on by default, and signing records live inconsensus.db. Keep it on persistent storage and never restore it from a backup. On the first start after upgrading, a delegate sits out its first rounds at one height. This is expected; upgrade delegates in turn. - API:
debug_trace*methods accept native tracers only; a websocket connection holds at most 32 subscriptions; the JSON-RPC request body is limited to 15 MiB. - The inbound block watchdog no longer restarts the node; alert on
iotex_chainservice_stalled_tip_ticksinstead.
Docker: ghcr.io/iotexproject/iotex-core:v2.5.2 (linux/amd64, linux/arm64), iotex/iotex-core:v2.5.2
Binaries: iotex-core linux-amd64 / darwin-arm64, ioctl linux / darwin / windows, each with a .asc signature.
Release note: https://github.com/iotexproject/iotex-bootstrap/blob/master/changelog/v2.5.2-release-note.md
v2.5.1
v2.5.1 is a recommended maintenance release on top of v2.5.0: stability and validation fixes, no hardfork, no genesis/config change, no resync.
It includes the Zanzibar hardfork from v2.5.0 (MainNet block 53533081, est. 2026-10-19 02:00 UTC); nodes still on v2.4.x should upgrade straight to v2.5.1.
Docker: ghcr.io/iotexproject/iotex-core:v2.5.1 (linux/amd64, linux/arm64)
Binaries: iotex-core linux-amd64 / darwin-arm64, ioctl linux / darwin / windows, each with a .asc signature. macOS assets are now named darwin-arm64.
Release note: https://github.com/iotexproject/iotex-bootstrap/blob/master/changelog/v2.5.1-release-note.md
v2.5.0
v2.4.5
v2.4.4
v2.4.3
v2.4.2: fix: harden deserialization and message handlers against panics (#4844)
v2.4.1
Summary
v2.4.1 is a mandatory follow-up patch to v2.4.0 fixing bugs in the candidate exit queue introduced by the Yap hardfork. All changes are scoped to the staking package; no genesis or config schema changes.
The headline fix prevents archive nodes from panicking the first time ScheduleCandidateDeactivation runs after Yap activation. The remaining fixes restore Web3 access to the exit queue and correct dropped event data.
Changes
- Fix: archive nodes panic on the Schedule block (#4827) β
*lastExitEpochnow implementskvListContainerso it can be stored under theCandsMapnamespace via erigon'skvListStorage. Without this, archive-enabled nodes panicked withobject of type *staking.lastExitEpoch does not supportedand entered a restart loop. - Fix: Confirm op callable via Web3 (#4828) β registers the missing
confirmCandidateDeactivationABI method and loosens the zero-arg length guard (len(data) <= 4β< 4). Native gRPC was unaffected, which masked the bug during local testing. - Feat:
candidateDeactivationview method (#4829) βcandidateDeactivation(address) β (bool requested, uint64 scheduledAtBlock). Exposes exit-queue state to dApps and unpacks the internalMaxUint64sentinel for "requested-but-not-scheduled". - Fix: clear
DeactivatedAtafter Confirm β prevents frontends like iotex-hub from showing "Confirm Exit" prematurely on a re-staked candidate. - Fix: emit non-indexed event args on candidate deactivation β
CandidateDeactivationScheduled.blockNumberwas being dropped because the handlers used the legacy receipt-log path. Both deactivation handlers now route throughAddEvent. - Refactor: split
newReceiptLoginto legacy + events constructors β no behavior change; prevents the event-args bug above from recurring.
Upgrade Priority
v2.4.1 is a mandatory release for all node types.
| Node type | Action |
|---|---|
| Archive node | Mandatory |
| Delegate | Mandatory |
| Fullnode | Mandatory |
| API node | Mandatory |
Commits
v2.4.0: fix: nil-safe tracer hooks and exclude system actions from block traces
Summary
v2.4.0 is a mandatory release. It activates at block 48985561, ETA Sun, 07 Jun 2026 23:52:19 +UTC, which brings the Pectra EVM upgrade (IIP-60) and the candidate exit queue mechanism to IoTeX.
Changes
Feat: Pectra EVM Upgrade
Implements four EIPs from the Ethereum Pectra upgrade. All features are activated at yapHeight.
EIP-7702: Set EOA Account Code
Introduces transaction type 0x04, allowing an EOA to temporarily delegate its code execution to a smart contract by signing authorization tuples. Each authorization costs 12,500 gas; creating a new delegated account costs 25,000 gas. Delegated accounts are identified by the prefix 0xef0100 || address. An abuse-prevention blacklist is applied on top of the standard Ethereum behavior.
EIP-7623: Increase Calldata Cost
Raises the cost floor for data-heavy transactions to reduce the maximum possible block size. IoTeX sets TX_COST_FLOOR_PER_TOKEN = 250 instead of Ethereum's value of 40, reflecting IoTeX's existing calldata baseline of 100 gas/byte versus Ethereum's 16 gas/byte, so that the relative cost increase is proportional.
EIP-2935: Historical Block Hashes from State
Stores the most recent 8,191 block hashes in a system contract at 0x0000F90827F1C53a10cb7A02335B175320002935, extending hash accessibility beyond the standard 256-block EVM window. Useful for rollups and cross-chain applications that need to reference older block hashes.
EIP-2537: BLS12-381 Precompiles
Adds seven precompile operations at addresses 0x0bβ0x11 for BLS12-381 curve operations, enabling efficient on-chain BLS signature verification with 120+ bits of security. Primarily benefits bridges and cross-chain protocols.
Feat: Candidate Exit Queue
Replaces the previous immediate-deactivation model with a queue-based mechanism that enforces a notice period before a candidate can fully exit. The change is designed to give the network visibility into upcoming validator exits and prevent sudden stake withdrawals.
Three-stage lifecycle:
-
Request β The candidate owner calls
CandidateDeactivate(OpRequest). The self-stake bucket is locked (cannot be unstaked) andDeactivatedAtis set to a sentinel value indicating the exit has been requested. -
Schedule β At each epoch boundary, the protocol automatically scans for pending requests. At most one candidate is admitted per
ExitAdmissionIntervalepochs (default: 24 epochs). When admitted, the protocol generates a systemScheduleCandidateDeactivationaction and setsDeactivatedAtto a specific future block height (currentHeight + ExitAdmissionInterval Γ blocksPerEpoch). -
Confirm β Once
currentHeight >= DeactivatedAt, the candidate owner callsCandidateDeactivate(OpConfirm). The self-stake is cleared (set to 0), the self-stake bucket index is removed from the candidate record, and the candidate is fully deactivated. The former self-stake bucket reverts to a regular vote bucket.
Key constraints:
- The self-stake bucket cannot be unstaked between request and confirmation.
- Only one candidate per
ExitAdmissionIntervalepochs is admitted into the queue, preventing a rush of simultaneous exits. - The request cannot be cancelled once submitted.
ScheduleCandidateDeactivationis a zero-gas system action, not callable by users.
Fix
- Fixed
CandidateDeactivateOpConfirmswallowing errors due to:=shadowing - Fixed
GetStorageRootpolluting contract cache - Fixed contract staking index checking
- Fixed candidate BLS public key update by operator
- Fixed
CandsMapnot saved during full sync - Fixed WebSocket double-close
Upgrade Priority
v2.4.0 is a mandatory release for all node types.
| Node type | Action |
|---|---|
| Delegate | Mandatory |
| Fullnode | Mandatory |
| API node | Mandatory |