Skip to content

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

Open
Yashb404 wants to merge 4 commits into
masterfrom
feature/jetty-ts-test-suite
Open

Fix tests: use provider.sendAndConfirm; allow non-signer authority; clarify allowlist checks#13
Yashb404 wants to merge 4 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.

Yashb404 added 4 commits May 27, 2026 16:49
…adjust Node.js version

feat(tests): add Jest configuration and initial test cases for PDA derivation
chore: remove outdated documentation files and add security best practices
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