Docs
Post-Quantum Cryptography (PQC)
IBC

Post-Quantum IBC Interoperability

In Dora Vota's post-quantum cryptography architecture, ML-DSA-65 is used in three places: validator consensus voting, native post-quantum accounts, and dual-signature protection for existing accounts (x/pqcauth). On Dora Vota's long-running testnet (vota-testnet), all active validators already sign blocks with ML-DSA-65.

However, a chain does not upgrade in isolation. In the Cosmos ecosystem, Dora Vota connects over IBC to counterparty chains such as Osmosis and the Cosmos Hub whose validators still sign blocks with classical Ed25519 keys.

That raises a practical ecosystem question: when Dora Vota runs post-quantum ML-DSA-65 consensus and a counterparty chain still runs classical Ed25519 consensus, can the two chains keep transferring assets over IBC—and can they preserve existing IBC channels without breaking token denoms?

This page explains why stock IBC stalls after consensus key rotation, how lightweight compatibility solves it without forcing counterparty chains to overhaul their own consensus, and the end-to-end two-chain test results between Dora Vota and Osmosis.

1. Why Rotating Validator Keys to ML-DSA-65 Stalls Stock IBC

When a user initiates an IBC transfer from Dora Vota to Osmosis, three components cooperate:

  1. Source chain (Dora Vota): Locks native tokens (or burns IBC vouchers from the counterparty chain) and writes a Packet Commitment into on-chain state.
  2. Relayer (e.g., Hermes): Reads the commitment and corresponding block headers, then submits client updates and packets to the destination chain.
  3. Destination chain (Osmosis): Verifies the proof, mints (or unlocks) the tokens for the recipient, and writes an Acknowledgement that the relayer submits back to the source chain.

The critical rule is that the destination chain never trusts the relayer. Because anyone can run a relayer, the destination chain independently verifies two things:

  • Step 1: Verify the block commit signatures (block validity) An IBC light client on Osmosis tracks Dora Vota and checks the validator commit signatures to confirm that more than two-thirds of Dora Vota's voting power signed the block header.
  • Step 2: Verify the state proof (packet existence) Once the header is trusted, Osmosis verifies an IAVL Merkle proof against the header's AppHash to confirm the packet commitment exists in Dora Vota's state.

Switching to post-quantum consensus breaks Step 1.

Step 2 relies on hash-based Merkle proofs and is unaffected by the signature algorithm change. Step 1, however, changes wire format and verification: classical Ed25519 validator signatures are 64 bytes (32-byte public keys), whereas ML-DSA-65 signatures are 3,309 bytes (1,952-byte public keys).

If the relayer and the counterparty light client do not recognize ML-DSA-65 public keys and signatures, both chains keep producing blocks and the source transfer succeeds, but the relayer cannot decode the new headers and the destination chain cannot verify them—leaving cross-chain packets stuck in flight.

2. Design Principle: Counterparty Chains Do Not Need Post-Quantum Consensus

A common assumption is that Osmosis or other counterparty chains must also migrate their entire validator set to post-quantum consensus before IBC can work again.

They do not. In IBC, the algorithm a chain uses to produce its own blocks and the signature types its light client can verify from a counterparty chain are completely decoupled:

IBC interoperability architecture between a post-quantum consensus chain and a classical consensus chain

  • Dora Vota runs post-quantum consensus: Validators sign blocks with ML-DSA-65, making Dora Vota's own ledger consensus quantum-resistant. Dora Vota still natively verifies classical Ed25519 signatures, so verifying headers and acknowledgements from Osmosis works out of the box.
  • Counterparty chains (e.g., Osmosis) keep classical consensus unchanged: Osmosis validators continue signing with Ed25519, with no consensus rule changes, no validator key rotation, and no account-system changes. Osmosis only needs a lightweight dependency update so its IBC light client can verify counterparty ML-DSA-65 headers.

This lets early adopters like Dora Vota deploy post-quantum consensus without waiting for the entire interchain ecosystem to migrate in lockstep, while keeping the integration cost minimal for counterparty chains.

Separating the Three Signature Roles in an IBC Transfer

Every cross-chain transfer involves three independent signature roles:

Signature roleWhat it authorizesRequirement in PQC-IBC
1. User account signatureAuthorizes the IBC transfer transaction on the source chainVerified only by the source chain; opaque to the counterparty. Dora Vota users can transfer over IBC using either a classical secp256k1 account or a native ML-DSA-65 account.
2. Relayer account signatureAuthorizes the relayer's transaction and pays gas on the destination chainConfigured independently per chain. Hermes can keep using a secp256k1 account on Osmosis while using either secp256k1 or ML-DSA-65 on Dora Vota.
3. Validator consensus signatureProves that the source chain reached consensus on a blockThe root of IBC light-client trust. Dora Vota validators sign blocks with ML-DSA-65, so counterparty light clients and relayers must verify ML-DSA-65 headers.

3. Architectural Changes and Preserving Existing Channels

Two Lightweight Compatibility Updates

All IBC handshakes, packet relay/timeout semantics, and ICS-20 fungible token transfer rules remain unchanged. Only two components require adaptation:

  1. Counterparty CometBFT dependency update (light-client verification) Most Cosmos chains use the native 07-tendermint light client, which delegates header verification directly to CometBFT. Official CometBFT v0.38.26 (opens in a new tab) backports ML-DSA-65 header verification to the 0.38 line. A counterparty chain only needs to bump its CometBFT dependency to v0.38.26—without a major Cosmos SDK upgrade—for its native light client to verify Dora Vota's post-quantum headers. (If a channel uses a 08-wasm light client, updating that Wasm contract achieves the same result.)
  2. Hermes relayer header decoding and verification Before submitting headers to the destination chain, Hermes decodes and verifies them locally. Adding ML-DSA-65 public key and signature support allows Hermes to fetch Dora Vota headers and construct valid MsgUpdateClient transactions.

Keeping Existing IBC Channels and Denoms Intact

For a brand-new IBC channel created after Dora Vota rotates to ML-DSA-65, the counterparty light client initializes directly at a post-rotation trusted height (recording that validator set hash) and verifies all subsequent updates with ML-DSA-65.

In production, however, preserving existing channels is critical. An IBC token denom (ibc/<hash>) is derived from the channel path (port/channel) and base denom. Abandoning an existing channel and opening a new one creates a different IBC denom, fragmenting liquidity pools, routing, and frontend integrations.

How does trust continue across a rotation from Ed25519 to ML-DSA-65 on an existing channel?

CometBFT headers commit to the next block's validator set via NextValidatorsHash:

  • Suppose Dora Vota still uses classical keys at height H, and height H's header commits to the NextValidatorsHash for height H+1 containing the newly rotated ML-DSA-65 public keys.
  • At height H+1, the counterparty light client verifies that the incoming ML-DSA-65 validator set hashes to the NextValidatorsHash already certified by height H, and then verifies height H+1's commit using those ML-DSA-65 keys. Trust continues seamlessly while keeping the exact same client ID, connection ID, and channel ID.

In live operations, observe one operational rule: rotate validators in batches or preserve the transition headers during rotation. Because relayers normally skip intermediate blocks when updating light clients, CometBFT requires any skipping update to carry commit signatures from more than one-third of the previously trusted validator set (TrustLevel = 1/3). If all validators rotate simultaneously, the relayer cannot skip across the boundary and must submit the sequential transition headers to advance the light client across the key change.

As a result, both upgrading the counterparty first and rotating Dora Vota validators in batches (zero backlog, seamless transition) and rotating Dora Vota first and upgrading the counterparty within the trusting period (submitting transition headers to catch up and draining queued packets) preserve existing channels safely.

Engineering Considerations: Header and Proof Sizes

Post-quantum signatures are much larger than classical ones: a classical Ed25519 signature is 64 bytes (32-byte public key), while an ML-DSA-65 signature is 3,309 bytes (~51.7× larger) with a 1,952-byte public key. For a 100-validator active set, signatures alone occupy roughly 331 KB per client update—and over 500 KB once validator public keys and transaction framing are included. Before mainnet consensus rotation, teams must benchmark large client-update transactions against RPC payload limits, block/tx gas limits, and relay latency at mainnet-scale validator counts.

4. End-to-End Two-Chain Verification: Fresh Channels and Live Channel Continuity

To validate both paths end to end, we ran live two-chain tests between Dora Vota v1.1.0 (ML-DSA-65 validators) and Osmosis (Ed25519 validators) using only the two lightweight patches described above—no changes to IBC handshakes, trust rules, or settlement semantics (Osmosis #9837 (opens in a new tab), Hermes #4437 (opens in a new tab)).

Path 1: Creating a Fresh IBC Channel

With Dora Vota already running ML-DSA-65 validators and Osmosis running Ed25519 validators, we tested all four compatibility combinations of Osmosis and Hermes from initial client creation. The passing configuration uses official CometBFT v0.38.26 (opens in a new tab) and the Hermes #4437 verification preview (Osmosis test record (opens in a new tab)):

Osmosis light clientHermes relayerFresh channel resultEvidence
StockStockHermes fails while decoding Dora Vota's ML-DSA-65 public key; handshake stalls off-chain.Hermes pubkey decode failure (opens in a new tab)
StockAdaptedInitial client is created, but Osmosis rejects unknown crypto.PublicKey field 4 during ConnOpenTry simulation.Osmosis handshake simulation failure (opens in a new tab)
AdaptedStockBoth auto-detection and explicit RPC 0.38 stall on pubkey decoding; Hermes cannot create the Dora client.Hermes RPC decode comparison (opens in a new tab)
AdaptedAdaptedClient, connection, and channel handshakes succeed. All four bidirectional transfers settle, source chains confirm every acknowledgement, and packet commitments drain to zero.Fresh channel packet record (opens in a new tab)

In the Osmosis-only control run, keeping both chains and the Osmosis binary identical and switching only to adapted Hermes allowed Osmosis to create the Dora client and advance its trusted height from 11 to 12. Both stock Hermes (unknown variant cometbft/PubKeyMlDsa65) and stock Osmosis (unknown pubkey field) fail cleanly before broadcast (Client creation & trusted height record (opens in a new tab), Stock Hermes RPC log (opens in a new tab)).

Four Bidirectional Transfers on the Fresh Channel

Chains: dora-official-1 and osmo-official-1 over transfer/channel-1. Dora user accounts tested both secp256k1 and ML-DSA-65; both relayer accounts used secp256k1. Hermes combined #4437 verification preview with #4436 independent account sequence fix (opens in a new tab). Every transfer was verified for destination balance increase, success acknowledgement {"result":"AQ=="}, and source acknowledge_packet event (Fresh channel packet record (opens in a new tab), Public tx table (opens in a new tab)):

Direction · AmountDora accountSource sendDestination receive & ackSource ack confirmation
Dora → Osmosis · 1,401 peakasecp256k193F7B48D… (opens in a new tab)A5DED2A5… (opens in a new tab)1BBFCCE2… (opens in a new tab)
Dora → Osmosis · 1,402 peakaML-DSA-6586FBCB36… (opens in a new tab)2B4CCB64… (opens in a new tab)E1B3FEEB… (opens in a new tab)
Osmosis → Dora · 1,403 uosmosecp256k126A990A5… (opens in a new tab)1BBFCCE2… (opens in a new tab)632F243B… (opens in a new tab)
Osmosis → Dora · 1,404 uosmoML-DSA-6570FA87FB… (opens in a new tab)E1B3FEEB… (opens in a new tab)A4109BF5… (opens in a new tab)

(Note: Two Dora Vota relayer transactions each batched an acknowledgement for an outbound packet together with a receive for an inbound packet, which is why two hashes appear twice.)

Additional Fresh-Channel Validations

Path 2: Rolling Upgrade Without Chain Halt, Preserving the Existing Channel

We first established transfer/channel-0 between two classical Ed25519 chains with stock Hermes, then intentionally tested the hardest rollout order: rotating Dora Vota validators first while Osmosis and Hermes upgraded afterward. Nodes were restarted one by one with existing chain state and genesis preserved; both chains kept producing blocks continuously while queued packets accumulated during the compatibility window and settled automatically afterward:

  1. Before rotation: Stock Osmosis and stock Hermes completed four bidirectional baseline transfers and acknowledgements over transfer/channel-0 (Ed25519 baseline packets (opens in a new tab)).
  2. Dora rotates while Osmosis and Hermes remain stock: All four Dora validators rotated one by one to ML-DSA-65 through a mixed validator set. Stock Hermes could not parse the 3,309-byte commit signatures. Two Dora → Osmosis packets waited unreceived; two Osmosis → Dora packets were received and acknowledged on Dora, but Osmosis could not yet confirm the acknowledgements. All four source packet commitments remained intact (Stock Hermes signature decode log (opens in a new tab), Pre-patch packet status (opens in a new tab)).
  3. Only Hermes upgraded: Adapted Hermes constructed the client update, while stock Osmosis still rejected updating the existing Dora client during simulation (Stock Osmosis update simulation log (opens in a new tab)).
  4. Osmosis upgraded: Osmosis nodes upgraded one by one. Once RPC caught up, adapted Hermes submitted the historical transition headers to advance the existing light client. All four queued packets settled in sequence, followed by four new bidirectional transfers completing end to end (Four queued packets settled (opens in a new tab), Four new packets record (opens in a new tab)).

Throughout the entire test, the original 07-tendermint-0, connection-0, and transfer/channel-0 remained active without recreation. Adjacent block hashes stayed continuous across Dora heights 64–324 and Osmosis heights 26–356, with maximum block intervals of 1.653s and 5.022s respectively (Continuity summary JSON (opens in a new tab), Rolling upgrade timeline & client snapshots (opens in a new tab)).

Per-Packet Evidence for the Four Queued Packets on transfer/channel-0

Chains: dora-live-1 and osmo-live-1 preserving transfer/channel-0. Every packet settled with destination acknowledgement {"result":"AQ=="} and confirmed on its source chain (Pre-patch snapshot (opens in a new tab), Post-patch settlement record (opens in a new tab)):

Direction · Seq · AmountDora accountSource sendDestination receive & ackSource ack confirmation
Dora → Osmosis · 3 · 1,201 peakasecp256k12CAC0254… (opens in a new tab)4A4B4A9E… (opens in a new tab)696BCBAA… (opens in a new tab)
Dora → Osmosis · 4 · 1,202 peakaML-DSA-651ACA3558… (opens in a new tab)4A4B4A9E… (opens in a new tab)696BCBAA… (opens in a new tab)
Osmosis → Dora · 3 · 1,203 uosmosecp256k137B7032B… (opens in a new tab)C2A37099… (opens in a new tab)0EA0DBF9… (opens in a new tab)
Osmosis → Dora · 4 · 1,204 uosmoML-DSA-65378D7BC0… (opens in a new tab)53F5F055… (opens in a new tab)0EA0DBF9… (opens in a new tab)

(Note: After upgrading, Osmosis received both queued Dora Vota packets in a single batched transaction, Dora Vota confirmed both acknowledgements in one transaction, and Osmosis confirmed both inbound acknowledgements in one transaction—so the 12 packet lifecycle steps correspond to 9 distinct on-chain transactions.)

A second rerun using official CometBFT v0.38.26 followed the recommended production order: upgrading Osmosis first, then rotating Dora's four validators one by one. The existing channel experienced zero packet backlog, completed all four bidirectional transfers and acknowledgements, and drained commitments on both sides (Original channel rerun record (opens in a new tab), Official dependency rerun (opens in a new tab)).

5. Verification Boundaries, Evidence Archive, and Ecosystem Next Steps

Verification Boundaries and Security Scope

Both the Go on-chain light client and the Rust Hermes verifier accept genuine Dora Vota headers and reject single-bit tampered signatures; the Rust verifier additionally confirms rejection of truncated signatures (Valid vs. tampered verification logs (opens in a new tab), Osmosis regression tests (opens in a new tab)).

Keep the current phase's security boundary clear:

  • Dora Vota's own block consensus is post-quantum, and counterparty chains verify Dora Vota state using ML-DSA-65 signatures.
  • While a counterparty chain (such as Osmosis) still runs Ed25519 validators, Dora Vota's verification of counterparty state still relies on Ed25519. Any user or relayer accounts still using secp256k1 must also migrate to post-quantum accounts for full end-to-end quantum resistance on both sides.

Inspecting the On-Chain Evidence

All 19 distinct transactions linked on this page come from isolated test chains. The public evidence archive exposes decoded TxBody payloads, full transaction JSON, raw signed bytes, RPC responses, and linked send → receive → ack lifecycles for every packet (Transaction & log archive (opens in a new tab), Public transaction table in Osmosis #9837 (opens in a new tab)).

Ecosystem Coordination Next Steps

These results establish two practical conclusions for the broader Cosmos and IBC community:

  • End-to-end feasibility is proven: Both creating new IBC channels and preserving existing channels/denoms across a zero-downtime validator key rotation work on real nodes with public transaction evidence and tamper-rejection checks.
  • The engineering cost for counterparties is minimal: No IBC core protocol changes, no counterparty consensus changes, and no major SDK upgrades are required—only a CometBFT dependency bump (v0.38.26) for light-client verification and matching relayer support.

Multi-chain ecosystems cannot switch to post-quantum cryptography on a single day. Ongoing ecosystem coordination focuses on:

  • Working with upstream maintainers (CometBFT, tendermint-rs, and Hermes) to ship ML-DSA-65 verification support in official releases.
  • Collaborating with Osmosis and other counterparty chain communities to evaluate and merge light-client compatibility upgrades and run mainnet-scale validation covering large header payloads, gas limits, relay latency, and state replay (see the Osmosis release validation scope (opens in a new tab)).