Skip to content

reproduction using raydium_amm_v4_with_swapv2.codama.json#198

Draft
grooviegermanikus wants to merge 1 commit into
rpcpool:mainfrom
grooviegermanikus:bug/fail-disc-base16-raydium-amm
Draft

reproduction using raydium_amm_v4_with_swapv2.codama.json#198
grooviegermanikus wants to merge 1 commit into
rpcpool:mainfrom
grooviegermanikus:bug/fail-disc-base16-raydium-amm

Conversation

@grooviegermanikus

@grooviegermanikus grooviegermanikus commented Feb 16, 2026

Copy link
Copy Markdown
Collaborator

3 | include_vixen_parser!("raydium_amm_v4_with_swapv2.codama.json");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: message: Failed to decode base16 (hex) bytes: OddLength

this cases the issue: the hex value is 1-byte which breaks the hex decoder:

"defaultValue": {
"kind": "bytesValueNode",
"data": "5",
"encoding": "base16"
}

@grooviegermanikus

Copy link
Copy Markdown
Collaborator Author

this was my workaround: grooviegermanikus@8f13ef6

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