fix(sol): decode Token-2022 unknown data as base64 - #9726
Draft
ralph-bitgo[bot] wants to merge 1 commit into
Draft
fix(sol): decode Token-2022 unknown data as base64#9726ralph-bitgo[bot] wants to merge 1 commit into
ralph-bitgo[bot] wants to merge 1 commit into
Conversation
ralph-bitgo
Bot
force-pushed
the
fix/CHALO-1512-token-2022-unknown-data
branch
from
September 11, 2026 22:56
e6204e5 to
fb711d9
Compare
Contributor
Decode unknown Token-2022 instruction data as base64 before checking confidential-transfer discriminators. This prevents BurnChecked pending approvals from throwing Non-base58 character during transaction explanation. Ticket: CHALO-1512 Session-Id: b8d737f7-739a-42bb-81a7-a9fbaf1ec4a6 Task-Id: 6288c7bd-acc3-46ee-a0bf-b5f2d595384e
ralph-bitgo
Bot
force-pushed
the
fix/CHALO-1512-token-2022-unknown-data
branch
2 times, most recently
from
September 11, 2026 22:57
082e954 to
45fd36e
Compare
Contributor
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
explainTransactionWasm.Why
Token-2022 BurnChecked instructions are emitted by
@bitgo/wasm-solanaas unknown instructions with base64 data. Decoding that data as base58 throwsNon-base58 character, causing pending approval requests to return HTTP 500.Tests
yarn unit-test --grep "Token-2022 BurnChecked"yarn prettier --check src/lib/explainTransactionWasm.ts test/unit/explainTransactionWasm.tsyarn buildBITGOJS_TEST_PASSWORDis not configured.Ticket: CHALO-1512