Skip to content

Add batch instruction helpers to JS client#147

Merged
lorisleiva merged 4 commits intomainfrom
loris/batch-helpers
Apr 1, 2026
Merged

Add batch instruction helpers to JS client#147
lorisleiva merged 4 commits intomainfrom
loris/batch-helpers

Conversation

@lorisleiva
Copy link
Copy Markdown
Member

@lorisleiva lorisleiva commented Mar 31, 2026

This PR overrides the generated getBatchInstruction and parseBatchInstruction helpers such that you can work with its inner instructions directly.

Note that it also updates the token binary on the restart-test-validator script so that it uses the p-token binary. This is so that we can run JS tests for the new batch instruction that does not exist on the original token binary.

@lorisleiva lorisleiva marked this pull request as ready for review March 31, 2026 17:26
@lorisleiva lorisleiva requested a review from febo March 31, 2026 17:38
Copy link
Copy Markdown
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! I only have a few questions.

@lorisleiva lorisleiva requested a review from febo April 1, 2026 12:45
Copy link
Copy Markdown
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@lorisleiva lorisleiva merged commit 5615307 into main Apr 1, 2026
27 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.

2 participants