Skip to content

Releases

v2.5.2

Choose a tag to compare

@github-actions github-actions released this 20 Nov 09:00

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: enforceRoundLock is on by default, and signing records live in consensus.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_ticks instead.

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

Choose a tag to compare

@github-actions github-actions released this 04 Oct 05:33
67b041f

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

Choose a tag to compare

@envestcc envestcc released this 28 Sep 02:34
f4217e1

v2.4.5

Choose a tag to compare

@github-actions github-actions released this 15 Sep 08:16

v2.4.4

Choose a tag to compare

@github-actions github-actions released this 14 Jul 09:01

v2.4.3

Choose a tag to compare

@github-actions github-actions released this 07 Jul 03:28

v2.4.2: fix: harden deserialization and message handlers against panics (#4844)

Choose a tag to compare

@github-actions github-actions released this 10 Jun 02:43

v2.4.1

Choose a tag to compare

@github-actions github-actions released this 14 May 12:07

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) β€” *lastExitEpoch now implements kvListContainer so it can be stored under the CandsMap namespace via erigon's kvListStorage. Without this, archive-enabled nodes panicked with object of type *staking.lastExitEpoch does not supported and entered a restart loop.
  • Fix: Confirm op callable via Web3 (#4828) β€” registers the missing confirmCandidateDeactivation ABI method and loosens the zero-arg length guard (len(data) <= 4 β†’ < 4). Native gRPC was unaffected, which masked the bug during local testing.
  • Feat: candidateDeactivation view method (#4829) β€” candidateDeactivation(address) β†’ (bool requested, uint64 scheduledAtBlock). Exposes exit-queue state to dApps and unpacks the internal MaxUint64 sentinel for "requested-but-not-scheduled".
  • Fix: clear DeactivatedAt after 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.blockNumber was being dropped because the handlers used the legacy receipt-log path. Both deactivation handlers now route through AddEvent.
  • Refactor: split newReceiptLog into 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...v2.4.1

v2.4.0: fix: nil-safe tracer hooks and exclude system actions from block traces

Choose a tag to compare

@github-actions github-actions released this 07 May 23:21

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:

  1. Request β€” The candidate owner calls CandidateDeactivate(OpRequest). The self-stake bucket is locked (cannot be unstaked) and DeactivatedAt is set to a sentinel value indicating the exit has been requested.

  2. Schedule β€” At each epoch boundary, the protocol automatically scans for pending requests. At most one candidate is admitted per ExitAdmissionInterval epochs (default: 24 epochs). When admitted, the protocol generates a system ScheduleCandidateDeactivation action and sets DeactivatedAt to a specific future block height (currentHeight + ExitAdmissionInterval Γ— blocksPerEpoch).

  3. Confirm β€” Once currentHeight >= DeactivatedAt, the candidate owner calls CandidateDeactivate(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 ExitAdmissionInterval epochs is admitted into the queue, preventing a rush of simultaneous exits.
  • The request cannot be cancelled once submitted.
  • ScheduleCandidateDeactivation is a zero-gas system action, not callable by users.

Fix

  • Fixed CandidateDeactivateOpConfirm swallowing errors due to := shadowing
  • Fixed GetStorageRoot polluting contract cache
  • Fixed contract staking index checking
  • Fixed candidate BLS public key update by operator
  • Fixed CandsMap not 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

Commits

v2.3.8...v2.4.0

v2.3.8

Choose a tag to compare

@github-actions github-actions released this 30 Mar 02:03