The Cortina upgrade represents a critical architectural shift for the Avalanche Primary Network, migrating the X-Chain from its legacy Directed Acyclic Graph (DAG) consensus to operate as a linear chain managed by the P-Chain's Snowman consensus engine. This change was not a simple optimization but a foundational re-platforming that eliminated the X-Chain's independent consensus instance, unifying transaction processing for both the P-Chain and X-Chain under a single, linear execution model. The primary motivation was to reduce the operational complexity of running a full node, which previously required maintaining two separate consensus mechanisms, and to pave the way for future protocol improvements like state bloat reduction and faster synchronization.

Cortina Upgrade (X/P-Chain Migration)
Introduction
The Cortina upgrade fundamentally re-architected Avalanche's X-Chain by migrating its transaction processing to the P-Chain, deprecating the DAG-based consensus model in favor of a linear, Snowman-based execution environment.
For operators and integrators, the most immediate consequence was the deprecation of the X-Chain's DAG-specific API endpoints and the introduction of a new atomic transaction model. Previously, cross-chain transfers between the X-Chain and C-Chain relied on DAG-based atomic operations. Post-Cortina, these transfers are managed directly by the P-Chain as linear transactions, requiring exchanges, custodians, and wallet providers to update their integration logic for deposit detection, withdrawal construction, and balance monitoring. The avm.exportAVA and avm.importAVA workflows were replaced by new P-Chain transaction types, and any service relying on X-Chain-specific indexing or polling patterns faced a mandatory upgrade to avoid service disruption.
The upgrade activated on mainnet at a predetermined block height, making it a mandatory, non-backwards-compatible change. Validators who failed to upgrade their AvalancheGo client to a Cortina-compatible version before the activation block were unable to participate in consensus, risking downtime and potential staking penalties. The migration also introduced a state-schema change requiring a database migration on first boot, which extended the startup time for node operators. Chainscore Labs can assist teams in auditing their post-Cortina integration logic, validating new atomic transaction parsing, and ensuring their monitoring systems correctly interpret the updated RPC responses to prevent deposit and withdrawal outages.
Quick Facts
Operational impact of the X-Chain to P-Chain migration for exchanges, wallets, and API consumers.
| Area | What changes | Who is affected | Action |
|---|---|---|---|
X-Chain API | Deprecation of X-Chain API endpoints for transaction issuance | Exchanges, wallets, custodians | Migrate to new P-Chain |
Transaction Model | X-Chain DAG-based transactions replaced by linear P-Chain atomic transactions | Bridge operators, cross-chain dApps | Update transaction construction logic to use new atomic transaction format |
Deposit/Withdrawal Flows | X-Chain deposits and withdrawals now processed via P-Chain atomic transactions | Centralized exchanges | Review and update deposit address generation and sweep logic |
Indexing Logic | Transaction indexing must shift from X-Chain DAG to P-Chain linear history | Data teams, block explorers | Re-index historical data and update parsers for new transaction structure |
Node Configuration | AvalancheGo nodes must enable P-Chain atomic transaction processing | Validator and infrastructure providers | Upgrade to Cortina-compatible client version before activation |
Fuji Testnet | Pre-production environment for testing new atomic transaction flows | QA and integration teams | Validate all migration steps on Fuji before mainnet activation |
Backward Compatibility | Legacy X-Chain transaction submission methods cease to function | All API consumers | Verify all integration points against canonical AvalancheGo release notes |
Technical Rationale and Mechanism
The Cortina upgrade migrated X-Chain transaction processing to the P-Chain, unifying Avalanche's Primary Network under a single linear execution model and deprecating the DAG-based consensus for asset transfers.
The Cortina upgrade represents a fundamental architectural simplification for the Avalanche Primary Network. Before Cortina, the X-Chain operated as an independent DAG-based chain optimized for high-throughput asset creation and transfer, while the P-Chain managed staking and validator coordination using a linear Snowman consensus. This dual-consensus architecture created operational complexity for validators, who were required to process two distinct consensus mechanisms, and for integrators, who needed to manage separate APIs and transaction models for cross-chain transfers. The core technical rationale for Cortina was to eliminate this complexity by migrating all X-Chain transaction processing—specifically the creation and transfer of assets—to the P-Chain's linear execution environment.
The mechanism of this migration centered on a new atomic transaction model. Under the DAG-based X-Chain, cross-chain transfers between the X-Chain and C-Chain relied on atomic swaps that required multiple steps and careful ordering. Cortina replaced this with P-Chain-managed atomic transactions, where the P-Chain becomes the single coordinator for all asset movements within the Primary Network. When a user initiates a transfer from the C-Chain to the X-Chain, the P-Chain now atomically debits the C-Chain account and credits the X-Chain account in a single, linear operation. This eliminates the previous race conditions and complexity of the DAG-based atomic swap model. The X-Chain itself was not removed; its API surface was preserved for backward compatibility, but its backend transaction processing was re-routed to the P-Chain's execution engine, making the X-Chain effectively a logical chain running on the P-Chain's state machine.
For operators and integrators, this change has direct operational consequences. Exchange deposit and withdrawal flows that relied on monitoring the X-Chain's DAG finality for transaction confirmation must be updated to monitor P-Chain block acceptance instead. The avm.exportAVA and avm.importAVA API calls were deprecated in favor of new P-Chain atomic transaction endpoints. Wallet teams and bridge operators need to refactor their cross-chain transfer logic to construct transactions against the P-Chain's API, using the new atomicTx types. Failure to migrate integration logic before the Cortina activation block height results in a hard break: legacy X-Chain transaction submission endpoints will cease to function, and any system still constructing DAG-based atomic swaps will be unable to process cross-chain transfers. Chainscore Labs can assist teams with an upgrade readiness review, auditing their integration logic against the new atomic transaction model and verifying that monitoring systems are aligned with P-Chain block acceptance rather than X-Chain DAG finality.
Affected Actors and Systems
Exchange & Custodian Impact
Centralized exchanges and custodians face the highest operational risk from the Cortina upgrade. The migration of X-Chain transaction processing to the P-Chain fundamentally alters the atomic transaction model for cross-chain transfers.
Critical Actions:
- Audit all X-Chain deposit and withdrawal pipelines immediately.
- Update transaction construction logic to use the new P-Chain atomic transaction format instead of the deprecated DAG-based X-Chain exports.
- Run a parallel non-validating node on Fuji to validate new indexing logic against the upgraded API responses.
- Monitor for deprecated API endpoints and adjust any internal monitoring that queries X-Chain-specific methods.
Risk: Failure to update integration logic will result in stuck deposits, failed withdrawals, and potential fund reconciliation errors. The window for testing is limited to the Fuji activation period before mainnet enforcement.
Integration Impact and Required Actions
The Cortina upgrade fundamentally alters how X-Chain transactions are processed by migrating them to the P-Chain. This requires immediate action from exchanges, wallet providers, and API consumers to update their integration logic and avoid service disruption.
Risk and Compatibility Matrix
Assesses the operational risks, breaking changes, and required actions for different stakeholders resulting from the Cortina upgrade's migration of X-Chain transaction processing to the P-Chain.
| Area | What changes | Who is affected | Action |
|---|---|---|---|
X-Chain API Endpoints | Deprecation of DAG-based endpoints (e.g., | Exchanges, custodians, wallets, indexers, and any service using X-Chain API for cross-chain transfers. | Migrate integration logic to use new P-Chain |
Atomic Transaction Model | Cross-chain transfers (X<->C, X<->P) are no longer DAG-based atomic swaps. They are now processed as atomic transactions on the linear P-Chain. | Bridge operators, wallet developers, and DeFi protocols managing cross-chain asset flows. | Update transaction construction and signing logic. Test new atomic transaction workflows on Fuji Testnet before mainnet activation. |
Node Upgrade Requirement | Upgrading to an AvalancheGo client version that supports Cortina is mandatory to remain in consensus with the Primary Network. | All Primary Network validators, RPC providers, and infrastructure operators. | Upgrade AvalancheGo node to a Cortina-compatible release (>=v1.10.0) before the activation timestamp. Monitor node health during and after the fork. |
Deposit and Withdrawal Flows | The underlying mechanism for exchange deposit and withdrawal flows involving the X-Chain is fundamentally altered. | Centralized exchange (CEX) operations teams and payment processors. | Conduct full end-to-end testing of X-Chain deposit and withdrawal paths on Fuji. Update internal address management and transaction monitoring systems. |
Indexing and Data Pipelines | The data structure for cross-chain transfers changes, breaking indexers that parse DAG-based transaction formats. | Data analytics teams, subgraph developers, and block explorers. | Rewrite indexing logic to parse new P-Chain atomic transaction types. Re-index historical data if a unified view is required. |
Wallet Integration | User-facing wallet logic for sending assets to and from the X-Chain must be updated to construct new transaction types. | Non-custodial wallet providers (browser extension, mobile, hardware). | Update SDK dependencies and transaction building modules. Release a wallet update before the network upgrade to prevent user disruption. |
Monitoring and Alerting | Existing monitors for X-Chain transaction finality and health metrics will fail or return incorrect data. | SRE and DevOps teams responsible for node and application uptime. | Deploy new monitors based on P-Chain metrics for atomic transaction acceptance. Verify |
Exchange and Wallet Operator Checklist
A targeted checklist for exchanges, custodians, and wallet providers to ensure uninterrupted deposit and withdrawal flows during the Cortina upgrade, which migrates X-Chain transaction processing to the P-Chain and deprecates the DAG-based atomic transaction model.
What to check: Identify every service, script, or indexer that queries X-Chain API endpoints (avm.* calls) or parses X-Chain transaction formats.
Why it matters: Cortina deprecates the X-Chain's linear DAG processing. Post-upgrade, X-Chain transactions are processed by the P-Chain. Legacy API endpoints may return errors or stale data, and transaction formats will change, breaking parsing logic.
Readiness signal: A complete inventory of all X-Chain dependencies, with each flagged for remediation or confirmed compatibility with the new atomic transaction model. Test against a Fuji Testnet node running the Cortina-compatible AvalancheGo client.
Source Resources
Canonical resources for validating Cortina-era X-Chain and P-Chain behavior, AvalancheGo compatibility, API changes, and operational monitoring. Teams should confirm current client and API status against official Avalanche sources before changing production flows.
Looking to build on a specific blockchain?
We build smart contracts, DeFi applications, wallets, tokenization platforms, and blockchain infrastructure across the major ecosystems teams choose today. That includes Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana, Sui, Aptos, Hedera, Stellar, and NEAR, with support for additional EVM and non-EVM networks based on your product requirements.
EVM ecosystems
- Ethereum
- Arbitrum
- Optimism
- Polygon
- Avalanche
- Cronos

Non-EVM ecosystems
- Solana
- Sui
- Aptos
- Hedera
- Stellar
- NEAR
Additional ecosystems
- Polkadot
- Cosmos
- TON
- Cardano
- Algorand
- Tempo
Also available for Base, appchains, custom EVM networks, and cross-chain product architecture.
Frequently Asked Questions
Common questions from exchange, wallet, and infrastructure teams about the operational impact of the Cortina upgrade and the X-Chain to P-Chain migration.
The deprecation of the X-Chain's DAG-based transaction model means that all X-Chain asset movement is now processed as atomic transactions on the P-Chain. Exchanges must stop relying on the avm API endpoints for X-Chain deposits and withdrawals. The critical change is that X-Chain transaction IDs are no longer generated by the X-Chain itself but by the P-Chain's linear blockchain. This breaks any integration logic that polls for X-Chain transaction IDs using the old avm.getTxStatus method. Teams must migrate to the new platform.getAtomicTxStatus endpoint and re-verify their deposit detection logic against the P-Chain's atomic transaction model to avoid losing track of user funds.
Delivering blockchain solutions for 5+ years.
We have partnered with 50+ leading DeFi protocols, NFT ecosystems, and fintech innovators to build secure, scalable, and capital-efficient blockchain products.
Selected Partners & Clients
“I've been working with Chainscore Labs for last 3+ years, they've consistently delivered with strong ownership across multiple projects. The team is reliable and detail-oriented.”
How to get started?
If you're looking for blockchain integration, ChainScore Labs has 5+ years of experience helping teams build and integrate exchanges, wallets, smart contracts, tokenization solutions, and protocol-connected products, we can help you choose the right path, integrate securely, and get to production faster. Our team consists of experienced blockchain developers and architects who can help you with your blockchain integration needs.
Exploration & Strategy
Define your product goals and choose the right blockchain architecture for your use case.
Architecture & Design
Design the smart contracts, tokenomics, and security parameters of your system.
Development & Integration
Build and integrate with wallets, oracles, and front-end dApps for a seamless experience.
Security & Launch
Comprehensive audits followed by a risk-managed mainnet deployment to protect your users.
Discover our
blockchain development services.
We build production-grade blockchain solutions for top-tier projects across DeFi and Web3.
Need a blockchain engineering team?
Send the project context and we will respond with next steps, scope questions, and a practical path to delivery.


