Skip to content

Fix tests: use provider.sendAndConfirm; allow non-signer authority; clarify allowlist checks#13

Merged
Yashb404 merged 22 commits into
masterfrom
feature/jetty-ts-test-suite
Jun 11, 2026
Merged

Fix tests: use provider.sendAndConfirm; allow non-signer authority; clarify allowlist checks#13
Yashb404 merged 22 commits into
masterfrom
feature/jetty-ts-test-suite

Conversation

@Yashb404

Copy link
Copy Markdown
Owner

Summary:

  • Use legacy Transaction + provider.sendAndConfirm(...) in tests to avoid environment-specific transaction-message/base58 issues.
  • Make Execute.authority an UncheckedAccount<'info> to support CPIs from Token-2022 where authority is not a signer.
  • Relax defensive owner checks on allowlist PDAs so domain errors surface.

Files changed: see branch feature/jetty-ts-test-suite (includes programs/jetty/src/instructions/execute.rs and HANDOFF.md).

Validation: I ran tests locally and observed passing tests. Please review CI results and let me know if you want any additional comments in the code or PR description.

Hand-off: see HANDOFF.md in repository root for details and validation steps.

@socket-security

socket-security Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​jest@​29.7.01001006893100
Addednpm/​@​types/​jest@​29.5.141001007781100
Addednpm/​ts-jest@​29.4.11971009493100

View full report

@Yashb404 Yashb404 merged commit 3cc212f into master Jun 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant