Skip to content

add sdk tests for instruction encoding and migration config decoding#1

Open
mooncitydev wants to merge 1 commit intoQuantuLabs:mainfrom
mooncitydev:sdk-add-index-tests
Open

add sdk tests for instruction encoding and migration config decoding#1
mooncitydev wants to merge 1 commit intoQuantuLabs:mainfrom
mooncitydev:sdk-add-index-tests

Conversation

@mooncitydev
Copy link
Copy Markdown

@mooncitydev mooncitydev commented Apr 7, 2026

this adds unit tests for the public sdk entrypoints in index.ts: instruction opcode and scalar encoding, decodeMigrationConfig validation errors, and a full decode roundtrip that matches the on-chain layout (including padding before total_migrated).

also sets engines.node to >=22 so local runs match ci and the native typescript test runner, and bumps the readme sdk test count.

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