Commit b8f6dad
Fix VAA construction in test_set_wormhole_address to include address payload
- Remove debug panic statement from wormhole contract
- Correct VAA structure to append wormhole_contract_2.address() after governance header
- VAA now follows format: header + governance magic (5054474d) + module (01) + action (06) + chain_id (0002) + address payload
- Test still fails due to signature verification mismatch - hardcoded signature doesn't match new VAA hash
Co-Authored-By: [email protected] <[email protected]>1 parent 2441d0a commit b8f6dad
File tree
2 files changed
+4
-8
lines changed- target_chains/stylus/contracts
- pyth-receiver/src
- wormhole/src
2 files changed
+4
-8
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
| 334 | + | |
| 335 | + | |
342 | 336 | | |
343 | 337 | | |
344 | 338 | | |
| |||
0 commit comments