Skip to content

fix: replace TextEncoder with Utf8Encoder#6

Merged
mikhd merged 1 commit intomain-dynamic-instructionsfrom
fix/dynamic-instructions-remove-text-encoder
Apr 2, 2026
Merged

fix: replace TextEncoder with Utf8Encoder#6
mikhd merged 1 commit intomain-dynamic-instructionsfrom
fix/dynamic-instructions-remove-text-encoder

Conversation

@mikhd
Copy link
Copy Markdown

@mikhd mikhd commented Mar 31, 2026

Description

getMemoizedTextEncoder helper is replaced with getMemoizedUtf8Encoder codec

Comment codama-idl#987 (comment).

@mikhd mikhd requested review from askov and rogaldh March 31, 2026 13:22
@mikhd mikhd self-assigned this Mar 31, 2026
@mikhd mikhd force-pushed the main-dynamic-instructions branch from 415210b to d938818 Compare April 1, 2026 07:01
@mikhd mikhd force-pushed the fix/dynamic-instructions-remove-text-encoder branch from a6faacd to 5e0146b Compare April 2, 2026 09:18
@mikhd
Copy link
Copy Markdown
Author

mikhd commented Apr 2, 2026

Rebased

@mikhd mikhd force-pushed the fix/dynamic-instructions-remove-text-encoder branch from 5e0146b to 7f72af6 Compare April 2, 2026 11:04
@mikhd mikhd merged commit 81f531b into main-dynamic-instructions Apr 2, 2026
4 checks passed
@mikhd mikhd deleted the fix/dynamic-instructions-remove-text-encoder branch April 2, 2026 11:25
mikhd added a commit that referenced this pull request Apr 9, 2026
mikhd added a commit that referenced this pull request Apr 15, 2026
* feat: add dynamic-instructions

---------

Co-authored-by: Alex S <alexander.shibaev@hoodies.team>
Co-authored-by: Sergo <rogaldh@radsh.red>

* fix: dont regenerate codama idl during ci for custom anchor programs (#11)

* chore: refactor create-program-client getRoot (#8)

* fix: replace concatBytes with mergeBytes (#5)

* fix: replace concatBytes with mergeBytes

* fix: types

* fix: replace TextEncoder with Utf8Encoder (#6)

* feat: update litesvm@1.0.0 (#9)

* chore: update litesvm@1.0.0

* chore: fix tests and svm-test-context with solana kit

* feat: fix writable program address while programId optional strategy [edge case]

* chore: uninstall @solana/web3js and @types/bn.js

* chore: update anchor custom codama idls

* feat: extract dynamic-instructions errors to @codama/errors

* fix: move errors to @codama/errors and adjust

* feat: replacing dynamic-instruction errors to codama/errors [WIP]

* feat: fix errors

* fix: errors

* fix: tests

* chore: reorder error codes

* fix: cleanup

* fix: cleanup

* fix: availableIxs

* chore: implement getMaybeNodeKind helper

* chore: rename dynamic-instructions -> dynamic-client

* chore: dynamic-client changeset

* fix: dynamic client minor issues

* fix: anchor paths in setup-anchor.yml

* fix: codec type

* fix: improve downgrading to readonly role of optional acc

* fix: cleanup

---------

Co-authored-by: Alex S <alexander.shibaev@hoodies.team>
Co-authored-by: Sergo <rogaldh@radsh.red>
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