You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tests-sdk): include expiry_offset in deferred-execution signed payload
The Authorize instruction binds expiry_offset to the Secp256r1 signature
hash via signed_payload = instructions_hash || accounts_hash || expiry_offset
(u16 LE). Test code was building signed_payload without the expiryBuf,
causing all 7 deferred tests to fail with InvalidMessageHash (3005). Add
expiryBuf at all 6 sign sites; values match the corresponding
createAuthorizeIx expiryOffset arg (4 × 300, 1 × 9000, 1 × 10).
Verification: 65/65 vitest pass against live validator (was 58/65 before).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments