# Two Paths to IBC for Chains with ML-DSA-65 Consensus

Dora Vota v1.1.0 uses ML-DSA-65 validator keys, while Osmosis stays on Ed25519. The tests showed that **a new IBC channel can be opened, and an existing one can remain in use after Dora rotates its validator keys in a rolling upgrade.**

Both paths require two compatibility changes. The IBC light client on Osmosis must verify Dora's ML-DSA-65 block headers, and Hermes must read and verify those headers to construct client updates. Both paths use the existing IBC handshake, trust, and settlement rules. [Osmosis #9837](https://github.com/osmosis-labs/osmosis/pull/9837) · [Hermes #4437](https://github.com/informalsystems/hermes/pull/4437)

## 1. Opening a New IBC Channel

Dora already uses ML-DSA-65 validator keys and Osmosis uses Ed25519. Starting from light client creation, the tests compare four combinations of Osmosis and Hermes. The successful retest used the official CometBFT v0.38.26 release and the signature verification preview from Hermes #4437. [CometBFT v0.38.26](https://github.com/cometbft/cometbft/releases/tag/v0.38.26) · [Osmosis test record](https://github.com/osmosis-labs/osmosis/pull/9837)

| Osmosis light client | Hermes | New-channel result | Evidence |
| --- | --- | --- | --- |
| Stock | Stock | Hermes could not parse Dora's ML-DSA-65 public key, blocking the handshake off-chain. | [Hermes public-key parsing log](https://ibc-evidence.dorafactory.org/case/01/#baseline) |
| Stock | Patched | Initial client creation succeeded. Osmosis rejected unknown field 4 of `crypto.PublicKey` during `ConnOpenTry` simulation, so the connection did not open. | [Osmosis handshake simulation log](https://ibc-evidence.dorafactory.org/case/02/#control) |
| Patched | Stock | Both automatic RPC detection and explicit RPC 0.38 hit the public-key decoding error. Hermes could not create the Dora client. | [Hermes RPC decoding comparison](https://ibc-evidence.dorafactory.org/case/03/#summary) |
| Patched | Patched | Client creation and the connection and channel handshakes completed. All four transfers arrived, the source chains confirmed every acknowledgement, and both chains cleared their packet commitments. | [New-channel packet records](https://ibc-evidence.dorafactory.org/case/04/#fresh-packets) |

In the Osmosis-only control, both chains and the Osmosis binary stayed the same. Switching to the patched Hermes let Osmosis create the Dora client and update its trusted height from 11 to 12. The Hermes `unknown variant cometbft/PubKeyMlDsa65` error and the Osmosis unknown public-key field error occurred before transaction broadcast. [Client creation and trusted heights](https://ibc-evidence.dorafactory.org/case/03/#summary) · [Stock Hermes RPC log](https://ibc-evidence.dorafactory.org/case/03/#osmosis-ready-stock-auto.stdout)

### Four Transfers in Both Directions

The test chains were `dora-official-1` and `osmo-official-1` on `transfer/channel-1`. Dora user accounts covered secp256k1 and ML-DSA-65. Relayer accounts on both chains used secp256k1. This Hermes build combined the #4437 verification preview with the independent #4436 account-sequence fix. Each transfer was checked against the destination balance increase, the success acknowledgement `{"result":"AQ=="}`, and the source-chain `acknowledge_packet` event. [New-channel packet records](https://ibc-evidence.dorafactory.org/case/04/#fresh-packets) · [Public transaction table](https://github.com/osmosis-labs/osmosis/pull/9837) · [Sequence fix #4436](https://github.com/informalsystems/hermes/pull/4436)

| Direction · Amount | Dora account | Sent on source | Received and acknowledged on destination | Acknowledgement confirmed on source |
| --- | --- | --- | --- | --- |
| Dora → Osmosis · 1,401 peaka | secp256k1 | [93F7B48D…](https://ibc-evidence.dorafactory.org/tx/93F7B48D6263447F9354F2D0543893F36AA8F3CA120C1BC7AB4BDD163DCA7487/) | [A5DED2A5…](https://ibc-evidence.dorafactory.org/tx/A5DED2A5ABE107025CB6E8B4569E02794E1E34DE7644624F0CDB8DECCA833468/) | [1BBFCCE2…](https://ibc-evidence.dorafactory.org/tx/1BBFCCE2A5F147499E4945F07D5618922EE2A9CEACDAFF21A9A8E59F1562A628/) |
| Dora → Osmosis · 1,402 peaka | ML-DSA-65 | [86FBCB36…](https://ibc-evidence.dorafactory.org/tx/86FBCB360400CCE423EA31747D066AE93CE38DA9B4035322D50964EBA120FC03/) | [2B4CCB64…](https://ibc-evidence.dorafactory.org/tx/2B4CCB64C8CB61E090FA0349A59C5595A0F47AB65BDEAA1EA9AB0474B3D9A84B/) | [E1B3FEEB…](https://ibc-evidence.dorafactory.org/tx/E1B3FEEB4B169286AF0ED083C97A836B0A1531991E14DF580329358A9DEA3077/) |
| Osmosis → Dora · 1,403 uosmo | secp256k1 | [26A990A5…](https://ibc-evidence.dorafactory.org/tx/26A990A5AE3DD3166BFD0D0302FA9AA0D7A22A4009D0631445EA72AF489AD807/) | [1BBFCCE2…](https://ibc-evidence.dorafactory.org/tx/1BBFCCE2A5F147499E4945F07D5618922EE2A9CEACDAFF21A9A8E59F1562A628/) | [632F243B…](https://ibc-evidence.dorafactory.org/tx/632F243B7954B82BB1572B204740A4DFE051519BA9EE1DB46BDE5AB121B2A63F/) |
| Osmosis → Dora · 1,404 uosmo | ML-DSA-65 | [70FA87FB…](https://ibc-evidence.dorafactory.org/tx/70FA87FBF1D89FB6A9ABC128C49FBDA9D401E23342F64EA5493D11291E353228/) | [E1B3FEEB…](https://ibc-evidence.dorafactory.org/tx/E1B3FEEB4B169286AF0ED083C97A836B0A1531991E14DF580329358A9DEA3077/) | [A4109BF5…](https://ibc-evidence.dorafactory.org/tx/A4109BF5C9F0596F89EBE47426815989FD08ACA85B4B28587A441CAEA756AC18/) |

Two Dora relayer transactions each handled two steps. Each confirmed an outbound acknowledgement and received an inbound packet, so its hash appears twice in the table.

### Two Additional New-Channel Tests

- **Two Dora chains with ML-DSA-65 validator keys.** Stock Hermes could not parse the commit signature. The verification preview completed the new-channel handshake, four transfers in both directions, and their source-chain acknowledgements. [Dual-Dora packet records](https://ibc-evidence.dorafactory.org/case/09/#dual-packets) · [Hermes #4437](https://github.com/informalsystems/hermes/pull/4437)
- **Relayer account signatures configured per chain.** The Dora relayer account used ML-DSA-65 and the Osmosis relayer account used secp256k1. All four transfers in both directions arrived and were acknowledged on the source chains. [Mixed relayer signature records](https://ibc-evidence.dorafactory.org/case/11/#account-packets) · [Hermes #4438](https://github.com/informalsystems/hermes/pull/4438)

## 2. Reusing the Existing IBC Channel

### Rolling Upgrade Without Halting Either Chain

The channel was opened between two Ed25519 chains with stock Hermes. **Dora rotated its validator keys first, then Osmosis and Hermes were upgraded.** Nodes restarted one at a time and retained their chain data and genesis files. Both chains kept producing blocks. Packet receives and acknowledgement confirmations backed up during the compatibility gap.

1. **Before rotation.** Stock Osmosis and Hermes completed four transfers in both directions on the original channel, including all source-chain acknowledgements. [Four Ed25519 baseline packets](https://ibc-evidence.dorafactory.org/case/00/#baseline-packets)
2. **Dora rotated while Osmosis and Hermes remained stock.** Dora's four validators moved to ML-DSA-65 one at a time, passing through a mixed validator set. Stock Hermes could not parse the Dora commit signatures, whose length grew from 64 to 3,309 bytes. The two Dora → Osmosis packets still awaited receipt. The two Osmosis → Dora packets had arrived and Dora had written acknowledgements, but Osmosis could not confirm them. All four source-chain packet commitments remained. [Stock Hermes signature parsing log](https://ibc-evidence.dorafactory.org/case/01/#stock-update-osmosis) · [Packet progress before the upgrade](https://ibc-evidence.dorafactory.org/case/01/#fault-packets)
3. **Only Hermes was patched.** Hermes could construct a client update. Stock Osmosis still rejected the update to its existing Dora client during transaction simulation. [Stock Osmosis client-update simulation log](https://ibc-evidence.dorafactory.org/case/02/#patched-hermes-stock-osmosis)
4. **Osmosis was patched as well.** Osmosis nodes upgraded one at a time. Once the RPC endpoints caught up, patched Hermes updated the existing client using historical headers from the transition. All four backlogged packets settled using their original sequence numbers. Four new transfers in both directions also arrived and were acknowledged on the source chains. [Settlement records for the four backlogged packets](https://ibc-evidence.dorafactory.org/case/05/#settled-packets) · [Four new packet records](https://ibc-evidence.dorafactory.org/case/05/#new-packets)

The test retained `07-tendermint-0`, `connection-0`, and `transfer/channel-0`. Normal client updates kept the original clients in use. Consecutive block hashes were continuous from heights 64–324 on Dora and 26–356 on Osmosis. The largest block intervals were **1.653 seconds** and **5.022 seconds**, respectively. [Block continuity data](https://ibc-evidence.dorafactory.org/case/05/continuity-summary.json) · [Upgrade timeline, block hashes, and client snapshots](https://ibc-evidence.dorafactory.org/case/05/)

### Packet-Level Evidence for the Four Backlogged Transfers

The test chains were `dora-live-1` and `osmo-live-1`, both on `transfer/channel-0`. Sends, receives, and source-chain acknowledgement confirmations were matched by **source chain, channel, and packet sequence**. All four transfers arrived. Their destination chains wrote `{"result":"AQ=="}` and their source chains confirmed each acknowledgement. [Snapshot before the upgrade](https://ibc-evidence.dorafactory.org/case/01/#fault-packets) · [Complete settlement records](https://ibc-evidence.dorafactory.org/case/05/#settled-packets)

| Direction · Packet sequence · Amount | Dora account | Sent on source | Received and acknowledged on destination | Acknowledgement confirmed on source |
| --- | --- | --- | --- | --- |
| Dora → Osmosis · 3 · 1,201 peaka | secp256k1 | [2CAC0254…](https://ibc-evidence.dorafactory.org/tx/2CAC025439AABDBD46437BF9B43BD5CDE0367482F188C272BF3DD9ABE49B9BC0/) | [4A4B4A9E…](https://ibc-evidence.dorafactory.org/tx/4A4B4A9EAF03628D0BB8D1460B20CA0B5922C96E54EB7C83092D68626A6A68CC/) | [696BCBAA…](https://ibc-evidence.dorafactory.org/tx/696BCBAABB3FE7B14FB96A9E8D5DDDD5F8F2835CE53B057A94A1CA17CA9ED544/) |
| Dora → Osmosis · 4 · 1,202 peaka | ML-DSA-65 | [1ACA3558…](https://ibc-evidence.dorafactory.org/tx/1ACA3558E45BC9900D83A14B0B542106D54F15324E00B3C23E7AD98E0485C207/) | [4A4B4A9E…](https://ibc-evidence.dorafactory.org/tx/4A4B4A9EAF03628D0BB8D1460B20CA0B5922C96E54EB7C83092D68626A6A68CC/) | [696BCBAA…](https://ibc-evidence.dorafactory.org/tx/696BCBAABB3FE7B14FB96A9E8D5DDDD5F8F2835CE53B057A94A1CA17CA9ED544/) |
| Osmosis → Dora · 3 · 1,203 uosmo | secp256k1 | [37B7032B…](https://ibc-evidence.dorafactory.org/tx/37B7032BE323F65DE778BF821941B8F925546E0062241A5B501E9F20F6D5E5D6/) | [C2A37099…](https://ibc-evidence.dorafactory.org/tx/C2A3709977EA72F97BF93AA4D1884920AC29E54BAD0A63913CF5D8CDADA50D4B/) | [0EA0DBF9…](https://ibc-evidence.dorafactory.org/tx/0EA0DBF97883847BF801ACE8CE77E239CA52C68FD2487DF88E8DB6F9EEB45E86/) |
| Osmosis → Dora · 4 · 1,204 uosmo | ML-DSA-65 | [378D7BC0…](https://ibc-evidence.dorafactory.org/tx/378D7BC0A579267A10CFC3875448D18465E47FB5EB13B813100CC233EA547063/) | [53F5F055…](https://ibc-evidence.dorafactory.org/tx/53F5F0557132572D32EF655C1209C6C49A192C6F4D41D04399768BE350EE8C8F/) | [0EA0DBF9…](https://ibc-evidence.dorafactory.org/tx/0EA0DBF97883847BF801ACE8CE77E239CA52C68FD2487DF88E8DB6F9EEB45E86/) |

After the upgrade, Osmosis used one transaction to receive both backlogged packets sent by Dora, and Dora used one transaction to confirm both acknowledgements. Dora had already received the two packets sent by Osmosis in separate transactions. Osmosis later confirmed both acknowledgements in one transaction. The 12 steps across four packets therefore correspond to 9 distinct on-chain transactions.

Another retest upgraded Osmosis to the official CometBFT v0.38.26 release before Dora rotated its four validators. The original channel again completed four transfers in both directions, including source-chain acknowledgements, and both chains cleared their packet commitments. [Existing-channel retest records](https://ibc-evidence.dorafactory.org/case/04/#original-packets) · [Official dependency retest](https://github.com/osmosis-labs/osmosis/pull/9837)

## Reading the Evidence

The 19 distinct transactions linked directly in this report came from independent test chains. Each full hash opens the SDK-decoded `TxBody`, full transaction JSON, signed transaction bytes, and RPC response. “Transaction succeeded” describes the on-chain execution of a single transaction. “IBC Packet Progress” connects the send, receive, and source-chain acknowledgement. Handshake index entries contain the hash, height, and stage. Failures before broadcast are recorded in the corresponding logs. [Transaction and log archive](https://ibc-evidence.dorafactory.org/) · [Public transaction table in the Osmosis PR](https://github.com/osmosis-labs/osmosis/pull/9837)

## Verification Scope and Production Validation

The Go and Rust implementations both accepted genuine Dora block headers and rejected a signature with one bit changed. The Rust implementation also rejected a truncated signature. [Verification logs for genuine and modified signatures](https://ibc-evidence.dorafactory.org/case/10/) · [Osmosis application regression tests](https://github.com/osmosis-labs/osmosis/pull/9837/files)

Dora still relies on Ed25519 to verify Osmosis state, and some user and relayer accounts still use secp256k1. End-to-end post-quantum security also requires migrating those signing operations.

Production validation still needs to repeat bidirectional transfers and acknowledgements against the released Hermes dependencies, measure block header size, transaction size, gas, and relay latency with a production-like validator count, and verify state replay. [Osmosis release validation scope](https://github.com/osmosis-labs/osmosis/pull/9837)
