WH-401 · HOOK_REVERTED · stage 7
What happened
The gateway delivered the call and the hook itself reverted. The gateway caught the revert and emitted a failed receipt, so the Solana side still closes.
What to do
Read the revert reason in the receipt. Fix the input and send a new call; retrying the same input will revert again.
| Field | Bytes | Hex | Decoded |
|---|---|---|---|
| magic | 4 | 57484b31 | "WHK1" |
| version | 1 | 01 | v1 |
| sourceChain | 2 | 0001 | wormhole chain 1 (solana) |
| sourceApp | 32 | ab72fca8aed554c73c30e9ecdece91b519eb0301ad9863a9d461a2134bc3bb70 | app pubkey (mock bytes) |
| hookId | 32 | cb838f6f631c82f43222b7a70f7c1ab191784064bf8d7d5dfecbebe30f241f7c | H("demo.echo.v1") |
| action | 4 | 991b6782 | selector("ECHO") |
| nonce | 8 | 0000000000004402 | 17410 |
| payloadHash | 32 | 27f7325040c86ad4d0f804985739a621459ad8bf505d15c4c02c9023f488e041 | H(payload) |
| maxSpend | 16 | 00000000000000000000000000000000 | none |
| expiry | 8 | 000000006ac0850e | 2026-10-03T04:31:10.000Z |
0x57484b31010001ab72fca8aed554c73c30e9ecdece91b519eb0301ad9863a9d461a2134bc3bb70cb838f6f631c82f43222b7a70f7c1ab191784064bf8d7d5dfecbebe30f241f7c991b6782000000000000440227f7325040c86ad4d0f804985739a621459ad8bf505d15c4c02c9023f488e04100000000000000000000000000000000000000006ac0850e