Repository navigation
feat(wasm-solana): strengthen legacy transaction decoding - #462
Draft
OttoAllmendinger wants to merge 1 commit into
Draft
OttoAllmendinger wants to merge 1 commit into
OttoAllmendinger wants to merge 1 commit into
Conversation
Retain exact legacy messages and existing signature slots while checking transaction framing and preserving requested account roles for unknown instructions. Expose the existing parser to Rust callers. The legacy fromBytes API now rejects noncanonical or oversized inputs. Semantic parsing remains best effort; Moneytalks admission and signature verification are outside this change. Refs: ACD-348
OttoAllmendinger
force-pushed
the
otto/ACD-348-legacy-transaction-decoding
branch
from
November 25, 2026 11:44
e2b41b9 to
19a29ad
Compare
This branch has not been deployed
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.
Summary
Transaction.fromBytespath with packet,structure and encoding checks while retaining message and signature-slot bytes.
unrecognized instructions without adding a parallel transaction API.
nonce, transfer, memo and compute-budget cases.
Validation
transaction round-tripped and the derived message matched
signableHex.The producer export is not included in this repository.
cargo-denywithout a version pin, and cargo-deny 0.22.0 requires Rust1.95 while the workflow uses nightly-2025-10-23 (Rust 1.92). The workflow
is unchanged by this PR.
Review scope
Transaction.fromBytesnow rejects noncanonical or over-1232-byte legacyinputs across the API, not just for the native-payment profile. Review the
compatibility implications and whether this is the appropriate boundary.
this draft is considered ready.
profile admission, signature validity or chain execution. Other transaction
classes have not been newly admitted by this change.
Refs: ACD-348