Commit 4bd1552
Fix VAA validation in test_authorize_governance_data_source_transfer
- Update AuthorizeGovernanceDataSourceTransfer parsing to consume entire remaining payload as claim_vaa
- Change validation logic from current_index >= new_index to current_index > new_index to allow governance_data_source_index = 0
- Test now passes successfully after previously failing with InvalidGovernanceMessage
Co-Authored-By: [email protected] <[email protected]>1 parent 27ab032 commit 4bd1552
File tree
2 files changed
+2
-1
lines changed- target_chains/stylus/contracts/pyth-receiver/src
2 files changed
+2
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
| 714 | + | |
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| |||
0 commit comments